[][src]Struct rio::Completion

pub struct Completion<'a, C> { /* fields omitted */ }

A Future value which may or may not be filled

Methods

impl<'a, C> Completion<'a, C>[src]

pub fn wait(self) -> C[src]

Block on the Completion's completion or dropping of the Filler

Trait Implementations

impl<'a, C: Debug> Debug for Completion<'a, C>[src]

impl<'a, C> Drop for Completion<'a, C>[src]

impl<'a, C> Future for Completion<'a, C>[src]

type Output = C

The type of value produced on completion.

Auto Trait Implementations

impl<'a, C> !RefUnwindSafe for Completion<'a, C>

impl<'a, C> Send for Completion<'a, C> where
    C: Send

impl<'a, C> Sync for Completion<'a, C> where
    C: Send

impl<'a, C> Unpin for Completion<'a, C>

impl<'a, C> !UnwindSafe for Completion<'a, C>

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.