pub struct HyperStackConfig {
pub auto_reconnect: bool,
pub reconnect_intervals: Vec<Duration>,
pub max_reconnect_attempts: u32,
pub ping_interval: Duration,
pub initial_data_timeout: Duration,
pub max_entries_per_view: Option<usize>,
pub auth: Option<AuthConfig>,
}Fields§
§auto_reconnect: bool§reconnect_intervals: Vec<Duration>§max_reconnect_attempts: u32§ping_interval: Duration§initial_data_timeout: Duration§max_entries_per_view: Option<usize>§auth: Option<AuthConfig>Trait Implementations§
Source§impl Clone for HyperStackConfig
impl Clone for HyperStackConfig
Source§fn clone(&self) -> HyperStackConfig
fn clone(&self) -> HyperStackConfig
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 HyperStackConfig
impl Debug for HyperStackConfig
Source§impl Default for HyperStackConfig
impl Default for HyperStackConfig
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 HyperStackConfig
impl !RefUnwindSafe for HyperStackConfig
impl Send for HyperStackConfig
impl Sync for HyperStackConfig
impl Unpin for HyperStackConfig
impl UnsafeUnpin for HyperStackConfig
impl !UnwindSafe for HyperStackConfig
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