#[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: u32hw_address_size: u32media_header_size: u32max_packet_size: u32nvram_size: u32nvram_access_size: u32receive_filter_mask: u32receive_filter_setting: u32max_mcast_filter_count: u32mcast_filter_count: u32mcast_filter: [MacAddress; 16]current_address: MacAddressbroadcast_address: MacAddresspermanent_address: MacAddressif_type: u8mac_address_changeable: Booleanmultiple_tx_supported: Booleanmedia_present_supported: Booleanmedia_present: BooleanTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Mode
impl Send for Mode
impl Sync for Mode
impl Unpin for Mode
impl UnwindSafe for Mode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more