#[repr(u32)]pub enum ethtool_flags {
ETH_FLAG_TXVLAN = 128,
ETH_FLAG_RXVLAN = 256,
ETH_FLAG_LRO = 32_768,
ETH_FLAG_NTUPLE = 134_217_728,
ETH_FLAG_RXHASH = 268_435_456,
}
Variants§
ETH_FLAG_TXVLAN = 128
ETH_FLAG_RXVLAN = 256
ETH_FLAG_LRO = 32_768
ETH_FLAG_NTUPLE = 134_217_728
ETH_FLAG_RXHASH = 268_435_456
Trait Implementations§
Source§impl Clone for ethtool_flags
impl Clone for ethtool_flags
Source§fn clone(&self) -> ethtool_flags
fn clone(&self) -> ethtool_flags
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 ethtool_flags
impl Debug for ethtool_flags
Source§impl Hash for ethtool_flags
impl Hash for ethtool_flags
Source§impl Ord for ethtool_flags
impl Ord for ethtool_flags
Source§fn cmp(&self, other: ðtool_flags) -> Ordering
fn cmp(&self, other: ðtool_flags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ethtool_flags
impl PartialEq for ethtool_flags
Source§impl PartialOrd for ethtool_flags
impl PartialOrd for ethtool_flags
impl Copy for ethtool_flags
impl Eq for ethtool_flags
impl StructuralPartialEq for ethtool_flags
Auto Trait Implementations§
impl Freeze for ethtool_flags
impl RefUnwindSafe for ethtool_flags
impl Send for ethtool_flags
impl Sync for ethtool_flags
impl Unpin for ethtool_flags
impl UnwindSafe for ethtool_flags
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