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>
impl<Fut, S, E> Future for WhateverContext<Fut, S, E>
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>
impl<Fut, S, E> Send for WhateverContext<Fut, S, E>
impl<Fut, S, E> Sync for WhateverContext<Fut, S, E>
impl<Fut, S, E> UnwindSafe for WhateverContext<Fut, S, 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