Enum ctru::services::ir_user::ConnectionStatus
source · #[repr(u8)]pub enum ConnectionStatus {
Disconnected = 0,
Connecting = 1,
Connected = 2,
Unknown(u8),
}
Expand description
Connection status values for IrUserStatusInfo
.
Variants§
Disconnected = 0
Device is not connected
Connecting = 1
Waiting for device to connect
Connected = 2
Device is connected
Unknown(u8)
Unknown connection status
Trait Implementations§
source§impl Debug for ConnectionStatus
impl Debug for ConnectionStatus
source§impl PartialEq for ConnectionStatus
impl PartialEq for ConnectionStatus
source§fn eq(&self, other: &ConnectionStatus) -> bool
fn eq(&self, other: &ConnectionStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.