#[repr(C)]pub struct ec_ioctl_master_t_ec_ioctl_device {
pub address: [u8; 6],
pub attached: u8,
pub link_state: u8,
pub tx_count: u64,
pub rx_count: u64,
pub tx_bytes: u64,
pub rx_bytes: u64,
pub tx_errors: u64,
pub tx_frame_rates: [i32; 3],
pub rx_frame_rates: [i32; 3],
pub tx_byte_rates: [i32; 3],
pub rx_byte_rates: [i32; 3],
}
Fields§
§address: [u8; 6]
§attached: u8
§link_state: u8
§tx_count: u64
§rx_count: u64
§tx_bytes: u64
§rx_bytes: u64
§tx_errors: u64
§tx_frame_rates: [i32; 3]
§rx_frame_rates: [i32; 3]
§tx_byte_rates: [i32; 3]
§rx_byte_rates: [i32; 3]
Trait Implementations§
source§impl Clone for ec_ioctl_master_t_ec_ioctl_device
impl Clone for ec_ioctl_master_t_ec_ioctl_device
source§fn clone(&self) -> ec_ioctl_master_t_ec_ioctl_device
fn clone(&self) -> ec_ioctl_master_t_ec_ioctl_device
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 Default for ec_ioctl_master_t_ec_ioctl_device
impl Default for ec_ioctl_master_t_ec_ioctl_device
source§fn default() -> ec_ioctl_master_t_ec_ioctl_device
fn default() -> ec_ioctl_master_t_ec_ioctl_device
Returns the “default value” for a type. Read more
impl Copy for ec_ioctl_master_t_ec_ioctl_device
Auto Trait Implementations§
impl RefUnwindSafe for ec_ioctl_master_t_ec_ioctl_device
impl Send for ec_ioctl_master_t_ec_ioctl_device
impl Sync for ec_ioctl_master_t_ec_ioctl_device
impl Unpin for ec_ioctl_master_t_ec_ioctl_device
impl UnwindSafe for ec_ioctl_master_t_ec_ioctl_device
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