pub struct SlackClientSocketModeConfig {
pub max_connections_count: u32,
pub debug_connections: bool,
pub initial_backoff_in_seconds: u64,
pub reconnect_timeout_in_seconds: u64,
pub ping_interval_in_seconds: u64,
pub ping_failure_threshold_times: u64,
}
Fields
max_connections_count: u32
debug_connections: bool
initial_backoff_in_seconds: u64
reconnect_timeout_in_seconds: u64
ping_interval_in_seconds: u64
ping_failure_threshold_times: u64
Implementations
sourceimpl SlackClientSocketModeConfig
impl SlackClientSocketModeConfig
pub fn new() -> Self
pub fn max_connections_count(&mut self, value: u32) -> &mut Self
pub fn with_max_connections_count(self, value: u32) -> Self
pub fn debug_connections(&mut self, value: bool) -> &mut Self
pub fn with_debug_connections(self, value: bool) -> Self
pub fn initial_backoff_in_seconds(&mut self, value: u64) -> &mut Self
pub fn with_initial_backoff_in_seconds(self, value: u64) -> Self
pub fn reconnect_timeout_in_seconds(&mut self, value: u64) -> &mut Self
pub fn with_reconnect_timeout_in_seconds(self, value: u64) -> Self
pub fn ping_interval_in_seconds(&mut self, value: u64) -> &mut Self
pub fn with_ping_interval_in_seconds(self, value: u64) -> Self
pub fn ping_failure_threshold_times(&mut self, value: u64) -> &mut Self
pub fn with_ping_failure_threshold_times(self, value: u64) -> Self
sourceimpl SlackClientSocketModeConfig
impl SlackClientSocketModeConfig
pub const DEFAULT_CONNECTIONS_COUNT: u32
pub const DEFAULT_DEBUG_CONNECTIONS: bool
pub const DEFAULT_INITIAL_BACKOFF_IN_SECONDS: u64
pub const DEFAULT_RECONNECT_TIMEOUT_IN_SECONDS: u64
pub const DEFAULT_PING_INTERVAL_IN_SECONDS: u64
pub const DEFAULT_PING_FAILURE_THRESHOLD_TIMES: u64
Trait Implementations
sourceimpl Clone for SlackClientSocketModeConfig
impl Clone for SlackClientSocketModeConfig
sourcefn clone(&self) -> SlackClientSocketModeConfig
fn clone(&self) -> SlackClientSocketModeConfig
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 Debug for SlackClientSocketModeConfig
impl Debug for SlackClientSocketModeConfig
sourceimpl From<SlackClientSocketModeConfigInit> for SlackClientSocketModeConfig
impl From<SlackClientSocketModeConfigInit> for SlackClientSocketModeConfig
sourcefn from(value: SlackClientSocketModeConfigInit) -> Self
fn from(value: SlackClientSocketModeConfigInit) -> Self
Performs the conversion.
sourceimpl PartialEq<SlackClientSocketModeConfig> for SlackClientSocketModeConfig
impl PartialEq<SlackClientSocketModeConfig> for SlackClientSocketModeConfig
sourcefn eq(&self, other: &SlackClientSocketModeConfig) -> bool
fn eq(&self, other: &SlackClientSocketModeConfig) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SlackClientSocketModeConfig) -> bool
fn ne(&self, other: &SlackClientSocketModeConfig) -> bool
This method tests for !=
.
impl StructuralPartialEq for SlackClientSocketModeConfig
Auto Trait Implementations
impl RefUnwindSafe for SlackClientSocketModeConfig
impl Send for SlackClientSocketModeConfig
impl Sync for SlackClientSocketModeConfig
impl Unpin for SlackClientSocketModeConfig
impl UnwindSafe for SlackClientSocketModeConfig
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
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