#[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: Boolean

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.