Struct snafu::futures::try_future::WhateverContext
source · pub struct WhateverContext<Fut, S, E> { /* private fields */ }
Expand description
Future for the
whatever_context
combinator.
See the TryFutureExt::whatever_context
method for more
details.
Trait Implementations§
source§impl<Fut, S, E> Future for WhateverContext<Fut, S, E>where
Fut: TryFuture,
S: Into<String>,
E: FromString,
Fut::Error: Into<E::Source>,
impl<Fut, S, E> Future for WhateverContext<Fut, S, E>where
Fut: TryFuture,
S: Into<String>,
E: FromString,
Fut::Error: Into<E::Source>,
impl<'pin, Fut, S, E> Unpin for WhateverContext<Fut, S, E>where
__WhateverContext<'pin, Fut, S, E>: Unpin,
Auto Trait Implementations§
impl<Fut, S, E> RefUnwindSafe for WhateverContext<Fut, S, E>where
E: RefUnwindSafe,
Fut: RefUnwindSafe,
S: RefUnwindSafe,
impl<Fut, S, E> Send for WhateverContext<Fut, S, E>where
E: Send,
Fut: Send,
S: Send,
impl<Fut, S, E> Sync for WhateverContext<Fut, S, E>where
E: Sync,
Fut: Sync,
S: Sync,
impl<Fut, S, E> UnwindSafe for WhateverContext<Fut, S, E>where
E: UnwindSafe,
Fut: UnwindSafe,
S: UnwindSafe,
Blanket Implementations§
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