Struct snafu::futures::try_future::Context
source · pub struct Context<Fut, C, E> { /* private fields */ }
Expand description
Future for the context
combinator.
See the TryFutureExt::context
method for more details.
Trait Implementations§
impl<'pin, Fut, C, E> Unpin for Context<Fut, C, E>where
__Context<'pin, Fut, C, E>: Unpin,
Auto Trait Implementations§
impl<Fut, C, E> RefUnwindSafe for Context<Fut, C, E>
impl<Fut, C, E> Send for Context<Fut, C, E>
impl<Fut, C, E> Sync for Context<Fut, C, E>
impl<Fut, C, E> UnwindSafe for Context<Fut, C, E>
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<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