pub struct IpStackConfig {
pub mtu: u16,
pub ip_fragment_timeout: Duration,
pub tcp_config: TcpConfig,
pub channel_size: usize,
pub tcp_syn_channel_size: usize,
pub tcp_channel_size: usize,
pub udp_channel_size: usize,
pub icmp_channel_size: usize,
pub ip_channel_size: usize,
}
Expand description
Configure the protocol stack
Fields§
§mtu: u16
§ip_fragment_timeout: Duration
§tcp_config: TcpConfig
§channel_size: usize
§tcp_syn_channel_size: usize
§tcp_channel_size: usize
§udp_channel_size: usize
§icmp_channel_size: usize
§ip_channel_size: usize
Implementations§
Trait Implementations§
Source§impl Clone for IpStackConfig
impl Clone for IpStackConfig
Source§fn clone(&self) -> IpStackConfig
fn clone(&self) -> IpStackConfig
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 IpStackConfig
impl Debug for IpStackConfig
Source§impl Default for IpStackConfig
impl Default for IpStackConfig
impl Copy for IpStackConfig
Auto Trait Implementations§
impl Freeze for IpStackConfig
impl RefUnwindSafe for IpStackConfig
impl Send for IpStackConfig
impl Sync for IpStackConfig
impl Unpin for IpStackConfig
impl UnwindSafe for IpStackConfig
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