Struct slack_morphism_hyper::SlackTungsteniteWssClient [−][src]
pub struct SlackTungsteniteWssClient { /* fields omitted */ }
Implementations
pub fn new(
wss_url: &SlackWebSocketsUrl,
id: SlackSocketModeWssClientId,
token: SlackApiToken,
client_listener: Arc<dyn SlackSocketModeWssClientListener + Sync + Send>
) -> Self
Trait Implementations
fn message<'life0, 'async_trait>(
&'life0 self,
message_body: String
) -> Pin<Box<dyn Future<Output = ClientResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
impl<H: Send + Sync + Clone + Connect> SlackSocketModeWssClientsFactory<SlackTungsteniteWssClient> for SlackClientHyperConnector<H>
impl<H: Send + Sync + Clone + Connect> SlackSocketModeWssClientsFactory<SlackTungsteniteWssClient> for SlackClientHyperConnector<H>
fn create_wss_client(
&self,
wss_url: &SlackWebSocketsUrl,
client_id: SlackSocketModeWssClientId,
token: SlackApiToken,
client_listener: Arc<dyn SlackSocketModeWssClientListener + Sync + Send + 'static>
) -> ClientResult<SlackTungsteniteWssClient>
Auto Trait Implementations
impl !RefUnwindSafe for SlackTungsteniteWssClient
impl Send for SlackTungsteniteWssClient
impl Sync for SlackTungsteniteWssClient
impl Unpin for SlackTungsteniteWssClient
impl !UnwindSafe for SlackTungsteniteWssClient
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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