Enum hid_io_protocol::commands::h0050::Command
source · #[repr(u16)]
pub enum Command {
TestCommand,
LedTestSequence,
LedCycleKeypressTest,
HallEffectSensorTest,
InvalidCommand,
}
Variants§
Trait Implementations§
source§impl TryFrom<u16> for Command
impl TryFrom<u16> for Command
§type Error = TryFromPrimitiveError<Command>
type Error = TryFromPrimitiveError<Command>
The type returned in the event of a conversion error.