pub struct SimpleEstablishmentConfig {
pub direct_timeout: Duration,
pub nat_traversal_timeout: Duration,
pub enable_nat_traversal: bool,
pub max_retries: u32,
}Expand description
Simplified configuration
Fields§
§direct_timeout: DurationTimeout for direct connection attempts
nat_traversal_timeout: DurationTimeout for NAT traversal
enable_nat_traversal: boolEnable automatic NAT traversal
max_retries: u32Maximum retry attempts
Trait Implementations§
Source§impl Clone for SimpleEstablishmentConfig
impl Clone for SimpleEstablishmentConfig
Source§fn clone(&self) -> SimpleEstablishmentConfig
fn clone(&self) -> SimpleEstablishmentConfig
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 SimpleEstablishmentConfig
impl Debug for SimpleEstablishmentConfig
Auto Trait Implementations§
impl Freeze for SimpleEstablishmentConfig
impl RefUnwindSafe for SimpleEstablishmentConfig
impl Send for SimpleEstablishmentConfig
impl Sync for SimpleEstablishmentConfig
impl Unpin for SimpleEstablishmentConfig
impl UnwindSafe for SimpleEstablishmentConfig
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