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.