Struct meio::handlers::Interact[][src]

pub struct Interact<T: Interaction> {
    pub request: T,
    pub responder: InteractionResponder<T::Output>,
}

The wrapper for an interaction request that keeps a request and the channel for sending a response.

Fields

request: T

Interaction request.

responder: InteractionResponder<T::Output>

The responder to send a result of an interaction.

Trait Implementations

impl<T: Interaction> Action for Interact<T>[src]

impl<T, I> ActionHandler<Interact<I>> for T where
    T: InteractionHandler<I>,
    I: Interaction
[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Interact<T>

impl<T> Send for Interact<T>

impl<T> Sync for Interact<T> where
    T: Sync

impl<T> Unpin for Interact<T> where
    T: Unpin

impl<T> !UnwindSafe for Interact<T>

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.