Struct windows_sys::Win32::NetworkManagement::Rras::RAS_CONNECTION_EX
#[repr(C)]pub struct RAS_CONNECTION_EX {Show 29 fields
pub Header: MPRAPI_OBJECT_HEADER,
pub dwConnectDuration: u32,
pub dwInterfaceType: ROUTER_INTERFACE_TYPE,
pub dwConnectionFlags: RAS_FLAGS,
pub wszInterfaceName: [u16; 257],
pub wszUserName: [u16; 257],
pub wszLogonDomain: [u16; 16],
pub wszRemoteComputer: [u16; 17],
pub guid: GUID,
pub rasQuarState: RAS_QUARANTINE_STATE,
pub probationTime: FILETIME,
pub dwBytesXmited: u32,
pub dwBytesRcved: u32,
pub dwFramesXmited: u32,
pub dwFramesRcved: u32,
pub dwCrcErr: u32,
pub dwTimeoutErr: u32,
pub dwAlignmentErr: u32,
pub dwHardwareOverrunErr: u32,
pub dwFramingErr: u32,
pub dwBufferOverrunErr: u32,
pub dwCompressionRatioIn: u32,
pub dwCompressionRatioOut: u32,
pub dwNumSwitchOvers: u32,
pub wszRemoteEndpointAddress: [u16; 65],
pub wszLocalEndpointAddress: [u16; 65],
pub ProjectionInfo: PROJECTION_INFO,
pub hConnection: HANDLE,
pub hInterface: HANDLE,
}
Fields§
§Header: MPRAPI_OBJECT_HEADER
§dwConnectDuration: u32
§dwInterfaceType: ROUTER_INTERFACE_TYPE
§dwConnectionFlags: RAS_FLAGS
§wszInterfaceName: [u16; 257]
§wszUserName: [u16; 257]
§wszLogonDomain: [u16; 16]
§wszRemoteComputer: [u16; 17]
§guid: GUID
§rasQuarState: RAS_QUARANTINE_STATE
§probationTime: FILETIME
§dwBytesXmited: u32
§dwBytesRcved: u32
§dwFramesXmited: u32
§dwFramesRcved: u32
§dwCrcErr: u32
§dwTimeoutErr: u32
§dwAlignmentErr: u32
§dwHardwareOverrunErr: u32
§dwFramingErr: u32
§dwBufferOverrunErr: u32
§dwCompressionRatioIn: u32
§dwCompressionRatioOut: u32
§dwNumSwitchOvers: u32
§wszRemoteEndpointAddress: [u16; 65]
§wszLocalEndpointAddress: [u16; 65]
§ProjectionInfo: PROJECTION_INFO
§hConnection: HANDLE
§hInterface: HANDLE
Trait Implementations§
§impl Clone for RAS_CONNECTION_EX
impl Clone for RAS_CONNECTION_EX
§fn clone(&self) -> RAS_CONNECTION_EX
fn clone(&self) -> RAS_CONNECTION_EX
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 RAS_CONNECTION_EX
Auto Trait Implementations§
impl Freeze for RAS_CONNECTION_EX
impl RefUnwindSafe for RAS_CONNECTION_EX
impl !Send for RAS_CONNECTION_EX
impl !Sync for RAS_CONNECTION_EX
impl Unpin for RAS_CONNECTION_EX
impl UnwindSafe for RAS_CONNECTION_EX
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
)