pub struct TunnelManagerConfig {
pub protocol_preference: Vec<TunnelProtocol>,
pub health_check_interval: Duration,
pub health_check_timeout: Duration,
pub auto_failover: bool,
pub max_concurrent_attempts: usize,
}
Expand description
Configuration for the tunnel manager
Fields§
§protocol_preference: Vec<TunnelProtocol>
Preferred protocol order for tunnel selection
health_check_interval: Duration
How often to test tunnel connectivity
health_check_timeout: Duration
Timeout for tunnel health checks
auto_failover: bool
Whether to automatically failover to backup tunnels
max_concurrent_attempts: usize
Maximum number of concurrent tunnel attempts
Trait Implementations§
Source§impl Clone for TunnelManagerConfig
impl Clone for TunnelManagerConfig
Source§fn clone(&self) -> TunnelManagerConfig
fn clone(&self) -> TunnelManagerConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TunnelManagerConfig
impl Debug for TunnelManagerConfig
Auto Trait Implementations§
impl Freeze for TunnelManagerConfig
impl RefUnwindSafe for TunnelManagerConfig
impl Send for TunnelManagerConfig
impl Sync for TunnelManagerConfig
impl Unpin for TunnelManagerConfig
impl UnwindSafe for TunnelManagerConfig
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