NDIS_INTERFACE_INFORMATION

Struct NDIS_INTERFACE_INFORMATION 

Source
#[repr(C)]
pub struct NDIS_INTERFACE_INFORMATION {
Show 32 fields pub ifOperStatus: NET_IF_OPER_STATUS, pub ifOperStatusFlags: ULONG, pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, pub MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE, pub ifMtu: ULONG, pub ifPromiscuousMode: BOOLEAN, pub ifDeviceWakeUpEnable: BOOLEAN, pub XmitLinkSpeed: ULONG64, pub RcvLinkSpeed: ULONG64, pub ifLastChange: ULONG64, pub ifCounterDiscontinuityTime: ULONG64, pub ifInUnknownProtos: ULONG64, pub ifInDiscards: ULONG64, pub ifInErrors: ULONG64, pub ifHCInOctets: ULONG64, pub ifHCInUcastPkts: ULONG64, pub ifHCInMulticastPkts: ULONG64, pub ifHCInBroadcastPkts: ULONG64, pub ifHCOutOctets: ULONG64, pub ifHCOutUcastPkts: ULONG64, pub ifHCOutMulticastPkts: ULONG64, pub ifHCOutBroadcastPkts: ULONG64, pub ifOutErrors: ULONG64, pub ifOutDiscards: ULONG64, pub ifHCInUcastOctets: ULONG64, pub ifHCInMulticastOctets: ULONG64, pub ifHCInBroadcastOctets: ULONG64, pub ifHCOutUcastOctets: ULONG64, pub ifHCOutMulticastOctets: ULONG64, pub ifHCOutBroadcastOctets: ULONG64, pub CompartmentId: NET_IF_COMPARTMENT_ID, pub SupportedStatistics: ULONG,
}

Fields§

§ifOperStatus: NET_IF_OPER_STATUS§ifOperStatusFlags: ULONG§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE§MediaDuplexState: NET_IF_MEDIA_DUPLEX_STATE§ifMtu: ULONG§ifPromiscuousMode: BOOLEAN§ifDeviceWakeUpEnable: BOOLEAN§XmitLinkSpeed: ULONG64§RcvLinkSpeed: ULONG64§ifLastChange: ULONG64§ifCounterDiscontinuityTime: ULONG64§ifInUnknownProtos: ULONG64§ifInDiscards: ULONG64§ifInErrors: ULONG64§ifHCInOctets: ULONG64§ifHCInUcastPkts: ULONG64§ifHCInMulticastPkts: ULONG64§ifHCInBroadcastPkts: ULONG64§ifHCOutOctets: ULONG64§ifHCOutUcastPkts: ULONG64§ifHCOutMulticastPkts: ULONG64§ifHCOutBroadcastPkts: ULONG64§ifOutErrors: ULONG64§ifOutDiscards: ULONG64§ifHCInUcastOctets: ULONG64§ifHCInMulticastOctets: ULONG64§ifHCInBroadcastOctets: ULONG64§ifHCOutUcastOctets: ULONG64§ifHCOutMulticastOctets: ULONG64§ifHCOutBroadcastOctets: ULONG64§CompartmentId: NET_IF_COMPARTMENT_ID§SupportedStatistics: ULONG

Trait Implementations§

Source§

impl Clone for NDIS_INTERFACE_INFORMATION

Source§

fn clone(&self) -> NDIS_INTERFACE_INFORMATION

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for NDIS_INTERFACE_INFORMATION

Source§

fn default() -> NDIS_INTERFACE_INFORMATION

Returns the “default value” for a type. Read more
Source§

impl Copy for NDIS_INTERFACE_INFORMATION

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.