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
sourceimpl Clone for FanoutOption
impl Clone for FanoutOption
sourcefn clone(&self) -> FanoutOption
fn clone(&self) -> FanoutOption
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FanoutOption
impl Debug for FanoutOption
sourceimpl Hash for FanoutOption
impl Hash for FanoutOption
sourceimpl PartialEq<FanoutOption> for FanoutOption
impl PartialEq<FanoutOption> for FanoutOption
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &FanoutOption) -> bool
fn ne(&self, other: &FanoutOption) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more