Struct libc_extra::android_linux::linux::ethtool::ethtool_drvinfo
[−]
[src]
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
impl Debug for ethtool_drvinfo[src]
impl Copy for ethtool_drvinfo[src]
impl Clone for ethtool_drvinfo[src]
fn clone(&self) -> ethtool_drvinfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl PartialEq for ethtool_drvinfo[src]
fn eq(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests for !=.
impl Eq for ethtool_drvinfo[src]
impl PartialOrd for ethtool_drvinfo[src]
fn partial_cmp(&self, __arg_0: ðtool_drvinfo) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: ðtool_drvinfo) -> bool
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for ethtool_drvinfo[src]
fn cmp(&self, __arg_0: ðtool_drvinfo) -> Ordering
This method returns an Ordering between self and other. Read more
impl Hash for ethtool_drvinfo[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher1.3.0
Feeds a slice of this type into the state provided.