pub struct RelayManagerConfig {
pub max_relays: usize,
pub connect_timeout: Duration,
pub retry_delay: Duration,
pub max_retries: u32,
pub client_config: RelayClientConfig,
}Expand description
Configuration for the relay manager
Fields§
§max_relays: usizeMaximum number of relay connections to maintain
connect_timeout: DurationRelay connection timeout
retry_delay: DurationTime to wait before retrying a failed relay
max_retries: u32Maximum retries per relay
client_config: RelayClientConfigClient configuration for relay connections
Trait Implementations§
Source§impl Clone for RelayManagerConfig
impl Clone for RelayManagerConfig
Source§fn clone(&self) -> RelayManagerConfig
fn clone(&self) -> RelayManagerConfig
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 RelayManagerConfig
impl Debug for RelayManagerConfig
Auto Trait Implementations§
impl Freeze for RelayManagerConfig
impl RefUnwindSafe for RelayManagerConfig
impl Send for RelayManagerConfig
impl Sync for RelayManagerConfig
impl Unpin for RelayManagerConfig
impl UnwindSafe for RelayManagerConfig
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