Implementations
sourceimpl<H: 'static + Send + Sync + Clone + Connect> SlackClientHyperConnector<H>
impl<H: 'static + Send + Sync + Clone + Connect> SlackClientHyperConnector<H>
pub fn with_connector(connector: H) -> Self
pub fn with_rate_control(
self,
rate_control_config: SlackApiRateControlConfig
) -> Self
Trait Implementations
sourceimpl<H: Clone + Send + Sync + Clone + Connect> Clone for SlackClientHyperConnector<H>
impl<H: Clone + Send + Sync + Clone + Connect> Clone for SlackClientHyperConnector<H>
sourcefn clone(&self) -> SlackClientHyperConnector<H>
fn clone(&self) -> SlackClientHyperConnector<H>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl From<HttpsConnector<HttpConnector<GaiResolver>>> for SlackClientHyperConnector<HttpsConnector<HttpConnector>>
impl From<HttpsConnector<HttpConnector<GaiResolver>>> for SlackClientHyperConnector<HttpsConnector<HttpConnector>>
sourcefn from(https_connector: HttpsConnector<HttpConnector>) -> Self
fn from(https_connector: HttpsConnector<HttpConnector>) -> Self
Performs the conversion.
sourceimpl<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>,
rate_control_params: Option<&'a SlackApiMethodRateControlConfig>
) -> 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>,
rate_control_params: Option<&'a SlackApiMethodRateControlConfig>
) -> 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>,
rate_control_params: Option<&'a SlackApiMethodRateControlConfig>
) -> 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>,
rate_control_params: Option<&'a SlackApiMethodRateControlConfig>
) -> Pin<Box<dyn Future<Output = Result<RS, SlackClientError>> + Send + 'a, Global>> where
RQ: Serialize + Send + Sync,
RS: 'a + for<'de> Deserialize<'de> + Send,
fn http_post<'a, RQ, RS>(
&'a self,
method_relative_uri: &str,
request: &'a RQ
) -> Pin<Box<dyn Future<Output = Result<RS, SlackClientError>> + Send + 'a, Global>> where
RQ: Serialize + Send + Sync,
RS: 'a + for<'de> Deserialize<'de> + Send,
sourceimpl<H: Send + Sync + Clone + Connect + 'static> SlackSocketModeClientsManagerFactory<SlackClientHyperConnector<H>> for SlackClientHyperConnector<H>
impl<H: Send + Sync + Clone + Connect + 'static> SlackSocketModeClientsManagerFactory<SlackClientHyperConnector<H>> for SlackClientHyperConnector<H>
fn new_clients_manager(
&self,
listener_environment: Arc<SlackClientEventsListenerEnvironment<SlackClientHyperConnector<H>>>
) -> Arc<dyn SlackSocketModeClientsManager + Send + Sync>
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more