Struct error_stack::future::FutureWithAttachment
source · pub struct FutureWithAttachment<Fut, T> { /* private fields */ }
Expand description
Adaptor returned by FutureExt::attach
.
Trait Implementations§
Auto Trait Implementations§
impl<Fut, T> RefUnwindSafe for FutureWithAttachment<Fut, T>where
Fut: RefUnwindSafe,
T: RefUnwindSafe,
impl<Fut, T> Send for FutureWithAttachment<Fut, T>where
Fut: Send,
T: Send,
impl<Fut, T> Sync for FutureWithAttachment<Fut, T>where
Fut: Sync,
T: Sync,
impl<Fut, T> Unpin for FutureWithAttachment<Fut, T>where
Fut: Unpin,
T: Unpin,
impl<Fut, T> UnwindSafe for FutureWithAttachment<Fut, T>where
Fut: UnwindSafe,
T: 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