Struct meio::handlers::InteractionTask[][src]

pub struct InteractionTask<I: Interaction> { /* fields omitted */ }

Interaction task that can be awaited or aattached to a Context.

Implementations

impl<I: Interaction> InteractionTask<I>[src]

pub async fn recv(self) -> Result<I::Output, Error>[src]

Receive a value

Trait Implementations

impl<I> LiteTask for InteractionTask<I> where
    I: Interaction
[src]

type Output = I::Output

The result of a finished task.

impl<T, I> TaskEliminated<InteractionTask<I>> for T where
    T: InteractionDone<I>,
    I: Interaction
[src]

Auto Trait Implementations

impl<I> !RefUnwindSafe for InteractionTask<I>

impl<I> Send for InteractionTask<I>

impl<I> !Sync for InteractionTask<I>

impl<I> Unpin for InteractionTask<I> where
    I: Unpin

impl<I> !UnwindSafe for InteractionTask<I>

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.