[][src]Trait interact_prompt::Handler

pub trait Handler {
    fn receive_interaction(&self, intr: Interaction) -> Response { ... }
}

This trait defines an optional handler for prompt commands. This allows to override the behavior of the handler for ().

Provided methods

fn receive_interaction(&self, intr: Interaction) -> Response

Loading content...

Implementations on Foreign Types

impl Handler for ()[src]

fn receive_interaction(&self, intr: Interaction) -> Response[src]

Loading content...

Implementors

Loading content...