Struct MIB_IF_ROW2

Source
#[repr(C)]
pub struct MIB_IF_ROW2 {
Show 41 fields pub InterfaceLuid: NET_LUID, pub InterfaceIndex: NET_IFINDEX, pub InterfaceGuid: GUID, pub Alias: [WCHAR; 257], pub Description: [WCHAR; 257], pub PhysicalAddressLength: ULONG, pub PhysicalAddress: [UCHAR; 32], pub PermanentPhysicalAddress: [UCHAR; 32], pub Mtu: ULONG, pub Type: IFTYPE, pub TunnelType: TUNNEL_TYPE, pub MediaType: NDIS_MEDIUM, pub PhysicalMediumType: NDIS_PHYSICAL_MEDIUM, pub AccessType: NET_IF_ACCESS_TYPE, pub DirectionType: NET_IF_DIRECTION_TYPE, pub InterfaceAndOperStatusFlags: MIB_IF_ROW2_InterfaceAndOperStatusFlags, pub OperStatus: IF_OPER_STATUS, pub AdminStatus: NET_IF_ADMIN_STATUS, pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, pub NetworkGuid: NET_IF_NETWORK_GUID, pub ConnectionType: NET_IF_CONNECTION_TYPE, pub TransmitLinkSpeed: ULONG64, pub ReceiveLinkSpeed: ULONG64, pub InOctets: ULONG64, pub InUcastPkts: ULONG64, pub InNUcastPkts: ULONG64, pub InDiscards: ULONG64, pub InErrors: ULONG64, pub InUnknownProtos: ULONG64, pub InUcastOctets: ULONG64, pub InMulticastOctets: ULONG64, pub InBroadcastOctets: ULONG64, pub OutOctets: ULONG64, pub OutUcastPkts: ULONG64, pub OutNUcastPkts: ULONG64, pub OutDiscards: ULONG64, pub OutErrors: ULONG64, pub OutUcastOctets: ULONG64, pub OutMulticastOctets: ULONG64, pub OutBroadcastOctets: ULONG64, pub OutQLen: ULONG64,
}

Fields§

§InterfaceLuid: NET_LUID§InterfaceIndex: NET_IFINDEX§InterfaceGuid: GUID§Alias: [WCHAR; 257]§Description: [WCHAR; 257]§PhysicalAddressLength: ULONG§PhysicalAddress: [UCHAR; 32]§PermanentPhysicalAddress: [UCHAR; 32]§Mtu: ULONG§Type: IFTYPE§TunnelType: TUNNEL_TYPE§MediaType: NDIS_MEDIUM§PhysicalMediumType: NDIS_PHYSICAL_MEDIUM§AccessType: NET_IF_ACCESS_TYPE§DirectionType: NET_IF_DIRECTION_TYPE§InterfaceAndOperStatusFlags: MIB_IF_ROW2_InterfaceAndOperStatusFlags§OperStatus: IF_OPER_STATUS§AdminStatus: NET_IF_ADMIN_STATUS§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE§NetworkGuid: NET_IF_NETWORK_GUID§ConnectionType: NET_IF_CONNECTION_TYPE§TransmitLinkSpeed: ULONG64§ReceiveLinkSpeed: ULONG64§InOctets: ULONG64§InUcastPkts: ULONG64§InNUcastPkts: ULONG64§InDiscards: ULONG64§InErrors: ULONG64§InUnknownProtos: ULONG64§InUcastOctets: ULONG64§InMulticastOctets: ULONG64§InBroadcastOctets: ULONG64§OutOctets: ULONG64§OutUcastPkts: ULONG64§OutNUcastPkts: ULONG64§OutDiscards: ULONG64§OutErrors: ULONG64§OutUcastOctets: ULONG64§OutMulticastOctets: ULONG64§OutBroadcastOctets: ULONG64§OutQLen: ULONG64

Trait Implementations§

Source§

impl Clone for MIB_IF_ROW2

Source§

fn clone(&self) -> MIB_IF_ROW2

Returns a copy 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 MIB_IF_ROW2

Source§

fn default() -> MIB_IF_ROW2

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

impl Copy for MIB_IF_ROW2

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.