pub struct Expected<Fut> { /* private fields */ }
Expand description
A future for the expected
method.
Trait Implementations§
Source§impl<Fut> Future for Expected<Fut>where
Fut: Future,
impl<Fut> Future for Expected<Fut>where
Fut: Future,
impl<'pin, Fut> Unpin for Expected<Fut>where
__Expected<'pin, Fut>: Unpin,
impl<Fut> UnsafeUnpin for Expected<Fut>
Auto Trait Implementations§
impl<Fut> Freeze for Expected<Fut>where
Fut: Freeze,
impl<Fut> !RefUnwindSafe for Expected<Fut>
impl<Fut> Send for Expected<Fut>where
Fut: Send,
impl<Fut> !Sync for Expected<Fut>
impl<Fut> !UnwindSafe for Expected<Fut>
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> FutureExpectedExt for Fwhere
F: Future,
impl<F> FutureExpectedExt for Fwhere
F: Future,
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§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