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 moreAuto Trait Implementations§
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