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

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

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

Asyncronous method that receives incoming message.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.