Struct slack_morphism_hyper::connector::SlackClientHyperConnector [−][src]
Implementations
Trait Implementations
impl<H: 'static + Send + Sync + Clone + Connect> SlackClientHttpConnector for SlackClientHyperConnector<H>
impl<H: 'static + Send + Sync + Clone + Connect> SlackClientHttpConnector for SlackClientHyperConnector<H>
fn http_get_uri<'a, RS>(
&'a self,
full_uri: Url,
token: Option<&'a SlackApiToken>
) -> BoxFuture<'a, ClientResult<RS>> where
RS: for<'de> Deserialize<'de> + Send + 'a,
fn http_get_with_client_secret<'a, RS>(
&'a self,
full_uri: Url,
client_id: &'a SlackClientId,
client_secret: &'a SlackClientSecret
) -> BoxFuture<'a, ClientResult<RS>> where
RS: for<'de> Deserialize<'de> + Send + 'a,
fn http_post_uri<'a, RQ, RS>(
&'a self,
full_uri: Url,
request_body: &'a RQ,
token: Option<&'a SlackApiToken>
) -> BoxFuture<'a, ClientResult<RS>> where
RQ: Serialize + Send + Sync,
RS: for<'de> Deserialize<'de> + Send + 'a,
fn http_get_token<'a, 'p, RS, PT, TS>(
&'a self,
method_relative_uri: &str,
params: &'p PT,
token: Option<&'a SlackApiToken>
) -> Pin<Box<dyn Future<Output = Result<RS, SlackClientError>> + Send + 'a, Global>> where
RS: 'a + for<'de> Deserialize<'de> + Send,
PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
TS: 'p + 'a + ToString + Send,
fn http_get<'a, 'p, RS, PT, TS>(
&'a self,
method_relative_uri: &str,
params: &'p PT
) -> Pin<Box<dyn Future<Output = Result<RS, SlackClientError>> + Send + 'a, Global>> where
RS: 'a + for<'de> Deserialize<'de> + Send,
PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
TS: 'p + 'a + ToString + Send,
fn http_post_token<'a, RQ, RS>(
&'a self,
method_relative_uri: &str,
request: &'a RQ,
token: Option<&'a SlackApiToken>
) -> Pin<Box<dyn Future<Output = Result<RS, SlackClientError>> + Send + 'a, Global>> where
RQ: Serialize + Send + Sync,
RS: 'a + for<'de> Deserialize<'de> + Send,
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<H> !RefUnwindSafe for SlackClientHyperConnector<H>
impl<H> Send for SlackClientHyperConnector<H>
impl<H> Sync for SlackClientHyperConnector<H>
impl<H> Unpin for SlackClientHyperConnector<H> where
H: Unpin,
impl<H> !UnwindSafe for SlackClientHyperConnector<H>
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