pub struct Config {
pub is_l2_socket: bool,
pub recv_outgoing_pkt: bool,
pub promiscuous: bool,
pub non_blocking: bool,
pub read_timeout: u32,
pub write_timeout: u32,
pub read_buf_size: i32,
pub write_buf_size: i32,
pub mtu: u16,
}Fields§
§is_l2_socket: bool§recv_outgoing_pkt: bool§promiscuous: bool§non_blocking: bool§read_timeout: u32§write_timeout: u32§read_buf_size: i32§write_buf_size: i32§mtu: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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