Struct slack_morphism::SlackSocketModeListenerCallbacks[][src]

pub struct SlackSocketModeListenerCallbacks<SCHC> where
    SCHC: SlackClientHttpConnector + Send + Sync + 'static, 
{ pub hello_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackSocketModeHelloEvent, ()> + Send + Sync>, pub command_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackCommandEvent, UserCallbackResult<SlackCommandEventResponse>> + Send + Sync>, pub interaction_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackInteractionEvent, UserCallbackResult<()>> + Send + Sync>, pub push_events_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackPushEventCallback, UserCallbackResult<()>> + Send + Sync>, }

Fields

hello_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackSocketModeHelloEvent, ()> + Send + Sync>command_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackCommandEvent, UserCallbackResult<SlackCommandEventResponse>> + Send + Sync>interaction_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackInteractionEvent, UserCallbackResult<()>> + Send + Sync>push_events_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackPushEventCallback, UserCallbackResult<()>> + Send + Sync>

Implementations

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.