Struct error_stack::future::FutureWithLazyContext
source · pub struct FutureWithLazyContext<Fut, F> { /* private fields */ }
Expand description
Adaptor returned by FutureExt::change_context_lazy
.
Trait Implementations§
Auto Trait Implementations§
impl<Fut, F> RefUnwindSafe for FutureWithLazyContext<Fut, F>where
F: RefUnwindSafe,
Fut: RefUnwindSafe,
impl<Fut, F> Send for FutureWithLazyContext<Fut, F>where
F: Send,
Fut: Send,
impl<Fut, F> Sync for FutureWithLazyContext<Fut, F>where
F: Sync,
Fut: Sync,
impl<Fut, F> Unpin for FutureWithLazyContext<Fut, F>where
F: Unpin,
Fut: Unpin,
impl<Fut, F> UnwindSafe for FutureWithLazyContext<Fut, F>where
F: UnwindSafe,
Fut: UnwindSafe,
Blanket Implementations§
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<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more