#[repr(C)]pub struct Mode {Show 19 fields
pub state: u32,
pub hw_address_size: u32,
pub media_header_size: u32,
pub max_packet_size: u32,
pub nvram_size: u32,
pub nvram_access_size: u32,
pub receive_filter_mask: u32,
pub receive_filter_setting: u32,
pub max_mcast_filter_count: u32,
pub mcast_filter_count: u32,
pub mcast_filter: [MacAddress; 16],
pub current_address: MacAddress,
pub broadcast_address: MacAddress,
pub permanent_address: MacAddress,
pub if_type: u8,
pub mac_address_changeable: Boolean,
pub multiple_tx_supported: Boolean,
pub media_present_supported: Boolean,
pub media_present: Boolean,
}
Fields§
§state: u32
§hw_address_size: u32
§media_header_size: u32
§max_packet_size: u32
§nvram_size: u32
§nvram_access_size: u32
§receive_filter_mask: u32
§receive_filter_setting: u32
§max_mcast_filter_count: u32
§mcast_filter_count: u32
§mcast_filter: [MacAddress; 16]
§current_address: MacAddress
§broadcast_address: MacAddress
§permanent_address: MacAddress
§if_type: u8
§mac_address_changeable: Boolean
§multiple_tx_supported: Boolean
§media_present_supported: Boolean
§media_present: Boolean
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Mode
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
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