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