#[repr(u32)]pub enum ethtool_reset_flags {
ETH_RESET_MGMT = 1,
ETH_RESET_IRQ = 2,
ETH_RESET_DMA = 4,
ETH_RESET_FILTER = 8,
ETH_RESET_OFFLOAD = 16,
ETH_RESET_MAC = 32,
ETH_RESET_PHY = 64,
ETH_RESET_RAM = 128,
ETH_RESET_DEDICATED = 65_535,
ETH_RESET_ALL = 4_294_967_295,
}
Variants§
ETH_RESET_MGMT = 1
ETH_RESET_IRQ = 2
ETH_RESET_DMA = 4
ETH_RESET_FILTER = 8
ETH_RESET_OFFLOAD = 16
ETH_RESET_MAC = 32
ETH_RESET_PHY = 64
ETH_RESET_RAM = 128
ETH_RESET_DEDICATED = 65_535
ETH_RESET_ALL = 4_294_967_295
Trait Implementations§
Source§impl Clone for ethtool_reset_flags
impl Clone for ethtool_reset_flags
Source§fn clone(&self) -> ethtool_reset_flags
fn clone(&self) -> ethtool_reset_flags
Returns a duplicate 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_reset_flags
impl Debug for ethtool_reset_flags
Source§impl Hash for ethtool_reset_flags
impl Hash for ethtool_reset_flags
Source§impl Ord for ethtool_reset_flags
impl Ord for ethtool_reset_flags
Source§fn cmp(&self, other: ðtool_reset_flags) -> Ordering
fn cmp(&self, other: ðtool_reset_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_reset_flags
impl PartialEq for ethtool_reset_flags
Source§impl PartialOrd for ethtool_reset_flags
impl PartialOrd for ethtool_reset_flags
impl Copy for ethtool_reset_flags
impl Eq for ethtool_reset_flags
impl StructuralPartialEq for ethtool_reset_flags
Auto Trait Implementations§
impl Freeze for ethtool_reset_flags
impl RefUnwindSafe for ethtool_reset_flags
impl Send for ethtool_reset_flags
impl Sync for ethtool_reset_flags
impl Unpin for ethtool_reset_flags
impl UnwindSafe for ethtool_reset_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