Enum nexus_revo_io::NexusCmd [−][src]
pub enum NexusCmd { Pause, PowerOff, VibrateMode, VibrateOff, RotateMode, RotateOff, }
Expand description
Remote commands supported by Revo hardware.
Variants
Toggles vibration and rotation on and off while remembering the mode of each.
Powers off Revo device. Must be turned back on at the device to re-establish communication.
Cycles through vibration modes.
Turns off vibration and resets vibration mode. Idempotency can be faked by transmitting this
and a certain number of VibrateMode
commands.
Cycles through rotation modes.
Turns off rotation and resets rotation mode. Idempotency can be faked by transmitting this
and a certain number of RotateMode
commands.
Trait Implementations
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Auto Trait Implementations
impl RefUnwindSafe for NexusCmd
impl UnwindSafe for NexusCmd
Blanket Implementations
Mutably borrows from an owned value. Read more