#[repr(C)]
pub struct RAS_CONNECTION_4 {
Show 30 fields 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 connectionStartTime: FILETIME, pub ullBytesXmited: u64, pub ullBytesRcved: u64, 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_INFO2, pub hConnection: HANDLE, pub hInterface: HANDLE, pub dwDeviceType: u32,
}
Expand description

Required features: "Win32_NetworkManagement_Rras", "Win32_Foundation"

Fields

dwConnectDuration: u32dwInterfaceType: ROUTER_INTERFACE_TYPEdwConnectionFlags: RAS_FLAGSwszInterfaceName: [u16; 257]wszUserName: [u16; 257]wszLogonDomain: [u16; 16]wszRemoteComputer: [u16; 17]guid: GUIDrasQuarState: RAS_QUARANTINE_STATEprobationTime: FILETIMEconnectionStartTime: FILETIMEullBytesXmited: u64ullBytesRcved: u64dwFramesXmited: u32dwFramesRcved: u32dwCrcErr: u32dwTimeoutErr: u32dwAlignmentErr: u32dwHardwareOverrunErr: u32dwFramingErr: u32dwBufferOverrunErr: u32dwCompressionRatioIn: u32dwCompressionRatioOut: u32dwNumSwitchOvers: u32wszRemoteEndpointAddress: [u16; 65]wszLocalEndpointAddress: [u16; 65]ProjectionInfo: PROJECTION_INFO2hConnection: HANDLEhInterface: HANDLEdwDeviceType: u32

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.