Struct discord_sdk::wheel::WheelHandler [−][src]
pub struct WheelHandler { /* fields omitted */ }
Expand description
The write part of the Wheel
which is used by the actual handler task
Trait Implementations
fn on_message<'life0, 'async_trait>(
&'life0 self,
msg: DiscordMsg
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn on_message<'life0, 'async_trait>(
&'life0 self,
msg: DiscordMsg
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for WheelHandler
impl Send for WheelHandler
impl Sync for WheelHandler
impl Unpin for WheelHandler
impl !UnwindSafe for WheelHandler
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more