[][src]Struct expected::Expected

pub struct Expected<Fut> { /* fields omitted */ }

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]

type Output = (Fut::Output, Option<Disappoints>)

The type of value produced on completion.

impl<Fut> PinnedDrop for Expected<Fut>[src]

impl<'pin, Fut> Unpin for Expected<Fut> where
    __Expected<'pin, Fut>: Unpin
[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.