Struct windows_sys::Win32::NetworkManagement::Rras::MPR_INTERFACE_2
#[repr(C)]pub struct MPR_INTERFACE_2 {Show 37 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,
}
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
Trait Implementations§
§impl Clone for MPR_INTERFACE_2
impl Clone for MPR_INTERFACE_2
§fn clone(&self) -> MPR_INTERFACE_2
fn clone(&self) -> MPR_INTERFACE_2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for MPR_INTERFACE_2
Auto Trait Implementations§
impl Freeze for MPR_INTERFACE_2
impl RefUnwindSafe for MPR_INTERFACE_2
impl !Send for MPR_INTERFACE_2
impl !Sync for MPR_INTERFACE_2
impl Unpin for MPR_INTERFACE_2
impl UnwindSafe for MPR_INTERFACE_2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)