#[repr(C)]pub struct ethtool_drvinfo {
pub cmd: u32,
pub driver: [c_char; 32],
pub version: [c_char; 32],
pub fw_version: [c_char; 32],
pub bus_info: [c_char; 32],
pub erom_version: [c_char; 32],
pub reserved2: [c_char; 12],
pub n_priv_flags: u32,
pub n_stats: u32,
pub testinfo_len: u32,
pub eedump_len: u32,
pub regdump_len: u32,
}
Fields§
§cmd: u32
§driver: [c_char; 32]
§version: [c_char; 32]
§fw_version: [c_char; 32]
§bus_info: [c_char; 32]
§erom_version: [c_char; 32]
§reserved2: [c_char; 12]
§n_priv_flags: u32
§n_stats: u32
§testinfo_len: u32
§eedump_len: u32
§regdump_len: u32
Trait Implementations§
Source§impl Clone for ethtool_drvinfo
impl Clone for ethtool_drvinfo
Source§fn clone(&self) -> ethtool_drvinfo
fn clone(&self) -> ethtool_drvinfo
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_drvinfo
impl Debug for ethtool_drvinfo
Source§impl Default for ethtool_drvinfo
impl Default for ethtool_drvinfo
Source§impl Hash for ethtool_drvinfo
impl Hash for ethtool_drvinfo
Source§impl Ord for ethtool_drvinfo
impl Ord for ethtool_drvinfo
Source§fn cmp(&self, other: ðtool_drvinfo) -> Ordering
fn cmp(&self, other: ðtool_drvinfo) -> 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_drvinfo
impl PartialEq for ethtool_drvinfo
Source§impl PartialOrd for ethtool_drvinfo
impl PartialOrd for ethtool_drvinfo
impl Copy for ethtool_drvinfo
impl Eq for ethtool_drvinfo
impl StructuralPartialEq for ethtool_drvinfo
Auto Trait Implementations§
impl Freeze for ethtool_drvinfo
impl RefUnwindSafe for ethtool_drvinfo
impl Send for ethtool_drvinfo
impl Sync for ethtool_drvinfo
impl Unpin for ethtool_drvinfo
impl UnwindSafe for ethtool_drvinfo
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