pub enum Command {
Check,
Control(ControlArgs),
DataRequest(DataRequestArgs),
DataTransmitRequest(DataTransmitRequestArgs),
Reset,
}
Expand description
Commands to send to device
Variants§
Check
Check Command (CHCK) This queries the device about what type of device it is, what firmware version is it running, and other essential information.
Control(ControlArgs)
Control Command (CTRL) Provides control over basic device functions such as footswitch behaviour, bank navigation, and reset modes.
DataRequest(DataRequestArgs)
Data Request Command (DREQ) Requested by the host application to the device. This prompts the device for global, bank, or configuration data.
DataTransmitRequest(DataTransmitRequestArgs)
Data Transmit Request (DTXR) Informs the device that the host appliccation wishes to transmit new data.
Reset
Reset Command (RSET) Resets the communication state of the device to exit a command state if required.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more