Struct slack_morphism_hyper::connector::SlackClientHyperConnector [−][src]
Implementations
impl SlackClientHyperConnector
[src]
Trait Implementations
impl Clone for SlackClientHyperConnector
[src]
fn clone(&self) -> SlackClientHyperConnector
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackClientHyperConnector
[src]
impl SlackClientHttpConnector for SlackClientHyperConnector
[src]
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]
&'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,
[src]
&'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,
[src]
&'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,
pub 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]
&'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,
pub 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]
&'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,
pub 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]
&'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,
pub fn http_post<'a, RQ, RS>(
&'a self,
method_relative_uri: &str,
request: &'a RQ
) -> 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]
&'a self,
method_relative_uri: &str,
request: &'a RQ
) -> 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,
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,