Struct pnet_datalink::FanoutOption
source · pub struct FanoutOption {
pub group_id: u16,
pub fanout_type: FanoutType,
pub defrag: bool,
pub rollover: bool,
}
Expand description
Fanout settings (Linux only).
Fields§
§group_id: u16
§fanout_type: FanoutType
§defrag: bool
§rollover: bool
Trait Implementations§
source§impl Clone for FanoutOption
impl Clone for FanoutOption
source§fn clone(&self) -> FanoutOption
fn clone(&self) -> FanoutOption
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 moresource§impl Debug for FanoutOption
impl Debug for FanoutOption
source§impl Hash for FanoutOption
impl Hash for FanoutOption
source§impl PartialEq<FanoutOption> for FanoutOption
impl PartialEq<FanoutOption> for FanoutOption
source§fn eq(&self, other: &FanoutOption) -> bool
fn eq(&self, other: &FanoutOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FanoutOption
impl Eq for FanoutOption
impl StructuralEq for FanoutOption
impl StructuralPartialEq for FanoutOption
Auto Trait Implementations§
impl RefUnwindSafe for FanoutOption
impl Send for FanoutOption
impl Sync for FanoutOption
impl Unpin for FanoutOption
impl UnwindSafe for FanoutOption
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