#[repr(C)]
pub struct IP_ADAPTER_ADDRESSES_LH {
Show 36 fields pub Anonymous1: IP_ADAPTER_ADDRESSES_LH_0, pub Next: *mut IP_ADAPTER_ADDRESSES_LH, pub AdapterName: PSTR, pub FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_LH, pub FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP, pub FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP, pub FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP, pub DnsSuffix: PWSTR, pub Description: PWSTR, pub FriendlyName: PWSTR, pub PhysicalAddress: [u8; 8], pub PhysicalAddressLength: u32, pub Anonymous2: IP_ADAPTER_ADDRESSES_LH_1, pub Mtu: u32, pub IfType: u32, pub OperStatus: IF_OPER_STATUS, pub Ipv6IfIndex: u32, pub ZoneIndices: [u32; 16], pub FirstPrefix: *mut IP_ADAPTER_PREFIX_XP, pub TransmitLinkSpeed: u64, pub ReceiveLinkSpeed: u64, pub FirstWinsServerAddress: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH, pub FirstGatewayAddress: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH, pub Ipv4Metric: u32, pub Ipv6Metric: u32, pub Luid: NET_LUID_LH, pub Dhcpv4Server: SOCKET_ADDRESS, pub CompartmentId: u32, pub NetworkGuid: GUID, pub ConnectionType: NET_IF_CONNECTION_TYPE, pub TunnelType: TUNNEL_TYPE, pub Dhcpv6Server: SOCKET_ADDRESS, pub Dhcpv6ClientDuid: [u8; 130], pub Dhcpv6ClientDuidLength: u32, pub Dhcpv6Iaid: u32, pub FirstDnsSuffix: *mut IP_ADAPTER_DNS_SUFFIX,
}

Fields§

§Anonymous1: IP_ADAPTER_ADDRESSES_LH_0§Next: *mut IP_ADAPTER_ADDRESSES_LH§AdapterName: PSTR§FirstUnicastAddress: *mut IP_ADAPTER_UNICAST_ADDRESS_LH§FirstAnycastAddress: *mut IP_ADAPTER_ANYCAST_ADDRESS_XP§FirstMulticastAddress: *mut IP_ADAPTER_MULTICAST_ADDRESS_XP§FirstDnsServerAddress: *mut IP_ADAPTER_DNS_SERVER_ADDRESS_XP§DnsSuffix: PWSTR§Description: PWSTR§FriendlyName: PWSTR§PhysicalAddress: [u8; 8]§PhysicalAddressLength: u32§Anonymous2: IP_ADAPTER_ADDRESSES_LH_1§Mtu: u32§IfType: u32§OperStatus: IF_OPER_STATUS§Ipv6IfIndex: u32§ZoneIndices: [u32; 16]§FirstPrefix: *mut IP_ADAPTER_PREFIX_XP§TransmitLinkSpeed: u64§ReceiveLinkSpeed: u64§FirstWinsServerAddress: *mut IP_ADAPTER_WINS_SERVER_ADDRESS_LH§FirstGatewayAddress: *mut IP_ADAPTER_GATEWAY_ADDRESS_LH§Ipv4Metric: u32§Ipv6Metric: u32§Luid: NET_LUID_LH§Dhcpv4Server: SOCKET_ADDRESS§CompartmentId: u32§NetworkGuid: GUID§ConnectionType: NET_IF_CONNECTION_TYPE§TunnelType: TUNNEL_TYPE§Dhcpv6Server: SOCKET_ADDRESS§Dhcpv6ClientDuid: [u8; 130]§Dhcpv6ClientDuidLength: u32§Dhcpv6Iaid: u32§FirstDnsSuffix: *mut IP_ADAPTER_DNS_SUFFIX

Trait Implementations§

§

impl Clone for IP_ADAPTER_ADDRESSES_LH

§

fn clone(&self) -> Self

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 IP_ADAPTER_ADDRESSES_LH

§

fn default() -> Self

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

impl Copy for IP_ADAPTER_ADDRESSES_LH

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