Struct windows::Win32::NetworkManagement::IpHelper::MIB_IF_ROW2

#[repr(C)]
pub struct MIB_IF_ROW2 {
Show 41 fields pub InterfaceLuid: NET_LUID_LH, pub InterfaceIndex: u32, pub InterfaceGuid: GUID, pub Alias: [u16; 257], pub Description: [u16; 257], pub PhysicalAddressLength: u32, pub PhysicalAddress: [u8; 32], pub PermanentPhysicalAddress: [u8; 32], pub Mtu: u32, pub Type: u32, 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_0, pub OperStatus: IF_OPER_STATUS, pub AdminStatus: NET_IF_ADMIN_STATUS, pub MediaConnectState: NET_IF_MEDIA_CONNECT_STATE, pub NetworkGuid: GUID, pub ConnectionType: NET_IF_CONNECTION_TYPE, pub TransmitLinkSpeed: u64, pub ReceiveLinkSpeed: u64, pub InOctets: u64, pub InUcastPkts: u64, pub InNUcastPkts: u64, pub InDiscards: u64, pub InErrors: u64, pub InUnknownProtos: u64, pub InUcastOctets: u64, pub InMulticastOctets: u64, pub InBroadcastOctets: u64, pub OutOctets: u64, pub OutUcastPkts: u64, pub OutNUcastPkts: u64, pub OutDiscards: u64, pub OutErrors: u64, pub OutUcastOctets: u64, pub OutMulticastOctets: u64, pub OutBroadcastOctets: u64, pub OutQLen: u64,
}

Fields§

§InterfaceLuid: NET_LUID_LH§InterfaceIndex: u32§InterfaceGuid: GUID§Alias: [u16; 257]§Description: [u16; 257]§PhysicalAddressLength: u32§PhysicalAddress: [u8; 32]§PermanentPhysicalAddress: [u8; 32]§Mtu: u32§Type: u32§TunnelType: TUNNEL_TYPE§MediaType: NDIS_MEDIUM§PhysicalMediumType: NDIS_PHYSICAL_MEDIUM§AccessType: NET_IF_ACCESS_TYPE§DirectionType: NET_IF_DIRECTION_TYPE§InterfaceAndOperStatusFlags: MIB_IF_ROW2_0§OperStatus: IF_OPER_STATUS§AdminStatus: NET_IF_ADMIN_STATUS§MediaConnectState: NET_IF_MEDIA_CONNECT_STATE§NetworkGuid: GUID§ConnectionType: NET_IF_CONNECTION_TYPE§TransmitLinkSpeed: u64§ReceiveLinkSpeed: u64§InOctets: u64§InUcastPkts: u64§InNUcastPkts: u64§InDiscards: u64§InErrors: u64§InUnknownProtos: u64§InUcastOctets: u64§InMulticastOctets: u64§InBroadcastOctets: u64§OutOctets: u64§OutUcastPkts: u64§OutNUcastPkts: u64§OutDiscards: u64§OutErrors: u64§OutUcastOctets: u64§OutMulticastOctets: u64§OutBroadcastOctets: u64§OutQLen: u64

Trait Implementations§

§

impl Clone for MIB_IF_ROW2

§

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
§

impl Default for MIB_IF_ROW2

§

fn default() -> Self

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

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§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

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

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

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. 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.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

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

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

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

§

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>,

§

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.