pub struct StackConfig {
pub pcap_path: Option<PathBuf>,
pub max_transmission_unit: usize,
pub max_send_batch: usize,
pub max_recv_batch: usize,
pub tcp_mem: SocketMemory,
pub udp_mem: SocketMemory,
pub icmp_mem: SocketMemory,
pub raw_mem: SocketMemory,
}
Fields§
§pcap_path: Option<PathBuf>
§max_transmission_unit: usize
§max_send_batch: usize
§max_recv_batch: usize
§tcp_mem: SocketMemory
§udp_mem: SocketMemory
§icmp_mem: SocketMemory
§raw_mem: SocketMemory
Trait Implementations§
Source§impl Clone for StackConfig
impl Clone for StackConfig
Source§fn clone(&self) -> StackConfig
fn clone(&self) -> StackConfig
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for StackConfig
impl RefUnwindSafe for StackConfig
impl Send for StackConfig
impl Sync for StackConfig
impl Unpin for StackConfig
impl UnwindSafe for StackConfig
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