#[repr(C)]
pub struct MPR_INTERFACE_3 {
Show 41 fields pub wszInterfaceName: [u16; 257], pub hInterface: HANDLE, pub fEnabled: BOOL, pub dwIfType: ROUTER_INTERFACE_TYPE, pub dwConnectionState: ROUTER_CONNECTION_STATE, pub fUnReachabilityReasons: u32, pub dwLastError: u32, pub dwfOptions: u32, pub szLocalPhoneNumber: [u16; 129], pub szAlternates: PWSTR, pub ipaddr: u32, pub ipaddrDns: u32, pub ipaddrDnsAlt: u32, pub ipaddrWins: u32, pub ipaddrWinsAlt: u32, pub dwfNetProtocols: u32, pub szDeviceType: [u16; 17], pub szDeviceName: [u16; 129], pub szX25PadType: [u16; 33], pub szX25Address: [u16; 201], pub szX25Facilities: [u16; 201], pub szX25UserData: [u16; 201], pub dwChannels: u32, pub dwSubEntries: u32, pub dwDialMode: MPR_INTERFACE_DIAL_MODE, pub dwDialExtraPercent: u32, pub dwDialExtraSampleSeconds: u32, pub dwHangUpExtraPercent: u32, pub dwHangUpExtraSampleSeconds: u32, pub dwIdleDisconnectSeconds: u32, pub dwType: u32, pub dwEncryptionType: MPR_ET, pub dwCustomAuthKey: u32, pub dwCustomAuthDataSize: u32, pub lpbCustomAuthData: *mut u8, pub guidId: GUID, pub dwVpnStrategy: MPR_VS, pub AddressCount: u32, pub ipv6addrDns: IN6_ADDR, pub ipv6addrDnsAlt: IN6_ADDR, pub ipv6addr: *mut IN6_ADDR,
}

Fields§

§wszInterfaceName: [u16; 257]§hInterface: HANDLE§fEnabled: BOOL§dwIfType: ROUTER_INTERFACE_TYPE§dwConnectionState: ROUTER_CONNECTION_STATE§fUnReachabilityReasons: u32§dwLastError: u32§dwfOptions: u32§szLocalPhoneNumber: [u16; 129]§szAlternates: PWSTR§ipaddr: u32§ipaddrDns: u32§ipaddrDnsAlt: u32§ipaddrWins: u32§ipaddrWinsAlt: u32§dwfNetProtocols: u32§szDeviceType: [u16; 17]§szDeviceName: [u16; 129]§szX25PadType: [u16; 33]§szX25Address: [u16; 201]§szX25Facilities: [u16; 201]§szX25UserData: [u16; 201]§dwChannels: u32§dwSubEntries: u32§dwDialMode: MPR_INTERFACE_DIAL_MODE§dwDialExtraPercent: u32§dwDialExtraSampleSeconds: u32§dwHangUpExtraPercent: u32§dwHangUpExtraSampleSeconds: u32§dwIdleDisconnectSeconds: u32§dwType: u32§dwEncryptionType: MPR_ET§dwCustomAuthKey: u32§dwCustomAuthDataSize: u32§lpbCustomAuthData: *mut u8§guidId: GUID§dwVpnStrategy: MPR_VS§AddressCount: u32§ipv6addrDns: IN6_ADDR§ipv6addrDnsAlt: IN6_ADDR§ipv6addr: *mut IN6_ADDR

Trait Implementations§

§

impl Clone for MPR_INTERFACE_3

§

fn clone(&self) -> MPR_INTERFACE_3

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 Copy for MPR_INTERFACE_3

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.

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.