pub struct ConnectionConfig {
pub auto_reconnect: bool,
pub reconnect_intervals: Vec<Duration>,
pub max_reconnect_attempts: u32,
pub ping_interval: Duration,
pub auth: Option<AuthConfig>,
}Fields§
§auto_reconnect: bool§reconnect_intervals: Vec<Duration>§max_reconnect_attempts: u32§ping_interval: Duration§auth: Option<AuthConfig>Trait Implementations§
Source§impl Clone for ConnectionConfig
impl Clone for ConnectionConfig
Source§fn clone(&self) -> ConnectionConfig
fn clone(&self) -> ConnectionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionConfig
impl Debug for ConnectionConfig
Source§impl Default for ConnectionConfig
impl Default for ConnectionConfig
Source§impl From<HyperStackConfig> for ConnectionConfig
impl From<HyperStackConfig> for ConnectionConfig
Source§fn from(config: HyperStackConfig) -> Self
fn from(config: HyperStackConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectionConfig
impl !RefUnwindSafe for ConnectionConfig
impl Send for ConnectionConfig
impl Sync for ConnectionConfig
impl Unpin for ConnectionConfig
impl UnsafeUnpin for ConnectionConfig
impl !UnwindSafe for ConnectionConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more