[−][src]Struct expected::Expected
A future for the expected
method.
Trait Implementations
impl<Fut: Debug> Debug for Expected<Fut>
[src]
impl<Fut> Future for Expected<Fut> where
Fut: Future,
[src]
Fut: Future,
type Output = (Fut::Output, Option<Disappoints>)
The type of value produced on completion.
fn poll(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Self::Output>
[src]
impl<Fut> PinnedDrop for Expected<Fut>
[src]
impl<'pin, Fut> Unpin for Expected<Fut> where
__Expected<'pin, Fut>: Unpin,
[src]
__Expected<'pin, Fut>: Unpin,
Auto Trait Implementations
impl<Fut> !RefUnwindSafe for Expected<Fut>
impl<Fut> Send for Expected<Fut> where
Fut: Send,
Fut: Send,
impl<Fut> !Sync for Expected<Fut>
impl<Fut> !UnwindSafe for Expected<Fut>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,