pub struct MinimalPreset;Expand description
An iroh preset that sets only the crypto provider.
It stands in for iroh’s presets::Minimal, which exists only with one of
iroh’s tls-* features and picks its provider by those, not by this
crate’s. Use it for an endpoint without iroh relays or address lookups, as in
tests. It sets crypto_provider.
let endpoint = iroh::Endpoint::bind(iroh_live_node::MinimalPreset).await?;Trait Implementations§
Source§impl Clone for MinimalPreset
impl Clone for MinimalPreset
impl Copy for MinimalPreset
Source§impl Debug for MinimalPreset
impl Debug for MinimalPreset
Source§impl Default for MinimalPreset
impl Default for MinimalPreset
Auto Trait Implementations§
impl Freeze for MinimalPreset
impl RefUnwindSafe for MinimalPreset
impl Send for MinimalPreset
impl Sync for MinimalPreset
impl Unpin for MinimalPreset
impl UnsafeUnpin for MinimalPreset
impl UnwindSafe for MinimalPreset
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more