Struct slack_morphism_hyper::connector::SlackClientHyperConnector [−][src]
pub struct SlackClientHyperConnector { /* fields omitted */ }
Implementations
Trait Implementations
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,
[src]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,
[src]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,
[src]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, Box<dyn Error + 'static + Sync + Send, Global>>> + 'a + Send, Global>> where
RS: for<'de> Deserialize<'de> + Send + 'a,
PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
TS: ToString + 'p + 'a + Send,
[src]fn http_get<'a, 'p, RS, PT, TS>(
&'a self,
method_relative_uri: &str,
params: &'p PT
) -> Pin<Box<dyn Future<Output = Result<RS, Box<dyn Error + 'static + Sync + Send, Global>>> + 'a + Send, Global>> where
RS: for<'de> Deserialize<'de> + Send + 'a,
PT: IntoIterator<Item = (&'p str, Option<&'p TS>)> + Clone,
TS: ToString + 'p + 'a + Send,
[src]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, Box<dyn Error + 'static + Sync + Send, Global>>> + 'a + Send, Global>> where
RS: for<'de> Deserialize<'de> + Send + 'a,
RQ: Serialize + Send + Sync,
[src]Auto Trait Implementations
impl !RefUnwindSafe for SlackClientHyperConnector
impl Send for SlackClientHyperConnector
impl Sync for SlackClientHyperConnector
impl Unpin for SlackClientHyperConnector
impl !UnwindSafe for SlackClientHyperConnector
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more