pub struct Minimal;Expand description
A preset that is almost empty, besides setting mandatory options.
At the moment the only mandatory option to set on the endpoint builder is
Builder::crypto_provider. This preset makes a choice for that based on
the current set of enabled features in iroh, which is why it’s only available
with the “ring” or “aws-lc-rs” feature flag.
It uses either ring or aws-lc-rs, depending on which feature is enabled on iroh (preferring ring if both are enabled).
Trait Implementations§
impl Copy for Minimal
Auto Trait Implementations§
impl Freeze for Minimal
impl RefUnwindSafe for Minimal
impl Send for Minimal
impl Sync for Minimal
impl Unpin for Minimal
impl UnsafeUnpin for Minimal
impl UnwindSafe for Minimal
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more