Struct ya_relay_stack::StackConfig
source · 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: SocketMemoryTrait 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 more