pub struct SamTunnelConfig {
pub inbound_quantity: u8,
pub outbound_quantity: u8,
pub inbound_length: u8,
pub outbound_length: u8,
}Expand description
Configuration for the SAM session tunnel parameters.
Fields§
§inbound_quantity: u8Number of inbound tunnels (1-16, default: 3).
outbound_quantity: u8Number of outbound tunnels (1-16, default: 3).
inbound_length: u8Number of inbound hops (0-7, default: 3).
outbound_length: u8Number of outbound hops (0-7, default: 3).
Trait Implementations§
Source§impl Clone for SamTunnelConfig
impl Clone for SamTunnelConfig
Source§fn clone(&self) -> SamTunnelConfig
fn clone(&self) -> SamTunnelConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SamTunnelConfig
impl Debug for SamTunnelConfig
Auto Trait Implementations§
impl Freeze for SamTunnelConfig
impl RefUnwindSafe for SamTunnelConfig
impl Send for SamTunnelConfig
impl Sync for SamTunnelConfig
impl Unpin for SamTunnelConfig
impl UnsafeUnpin for SamTunnelConfig
impl UnwindSafe for SamTunnelConfig
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