#[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_HEADERdwConnectDuration: u32dwInterfaceType: ROUTER_INTERFACE_TYPEdwConnectionFlags: RAS_FLAGSwszInterfaceName: [u16; 257]wszUserName: [u16; 257]wszLogonDomain: [u16; 16]wszRemoteComputer: [u16; 17]guid: GUIDrasQuarState: RAS_QUARANTINE_STATEprobationTime: FILETIMEdwBytesXmited: u32dwBytesRcved: u32dwFramesXmited: u32dwFramesRcved: u32dwCrcErr: u32dwTimeoutErr: u32dwAlignmentErr: u32dwHardwareOverrunErr: u32dwFramingErr: u32dwBufferOverrunErr: u32dwCompressionRatioIn: u32dwCompressionRatioOut: u32dwNumSwitchOvers: u32wszRemoteEndpointAddress: [u16; 65]wszLocalEndpointAddress: [u16; 65]ProjectionInfo: PROJECTION_INFOhConnection: HANDLEhInterface: HANDLE

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.