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,
}
Expand description
Required features: "Win32_NetworkManagement_Rras"
, "Win32_Foundation"
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
impl Copy for RAS_CONNECTION_EX
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more