pub struct RelayClientConfig {
pub connect_timeout: Duration,
pub keepalive_interval: Duration,
pub max_pending_contexts: usize,
pub prefer_compressed: bool,
}Expand description
Configuration for the relay client
Fields§
§connect_timeout: DurationConnection timeout
keepalive_interval: DurationSession keepalive interval
max_pending_contexts: usizeMaximum pending context registrations
prefer_compressed: boolPrefer compressed contexts over uncompressed
Trait Implementations§
Source§impl Clone for RelayClientConfig
impl Clone for RelayClientConfig
Source§fn clone(&self) -> RelayClientConfig
fn clone(&self) -> RelayClientConfig
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 RelayClientConfig
impl Debug for RelayClientConfig
Auto Trait Implementations§
impl Freeze for RelayClientConfig
impl RefUnwindSafe for RelayClientConfig
impl Send for RelayClientConfig
impl Sync for RelayClientConfig
impl Unpin for RelayClientConfig
impl UnwindSafe for RelayClientConfig
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