DisconnectStatus

Type Alias DisconnectStatus 

Source
pub type DisconnectStatus = DisconnectStatus;

Aliased Type§

#[repr(u32)]
pub enum DisconnectStatus { TimedOut = 1, CredentialsFailed = 2, ConnectionStopped = 3, ConnectionFailed = 4, }

Variants§

§

TimedOut = 1

The requested connection attempt failed due to timeout.

§

CredentialsFailed = 2

The requested connection attempt failed due to suspected credential failure.

§

ConnectionStopped = 3

The existing connection was explicitly disconnected by an action of wlan service on this device. This can be the result of wlan connections being disabled, network configuration being removed or a connection attempt to a different network (as examples).

§

ConnectionFailed = 4

The existing connection failed unexpectedly in a way that is not an explicitly triggered disconnect by the device (or user). Examples of unexpected disconnections include: an underlying error (driver, firmware, etc.), beacon loss, access point failure.