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>,
}
command_callback: Box<dyn SlackSocketModeListenerCallback<SCHC, SlackCommandEvent, UserCallbackResult<SlackCommandEventResponse>> + Send + Sync>
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.