#[repr(u32)]pub enum Command {
Ping = 0,
ReadRom = 1,
GetRawData = 2,
Unknown = 4_294_967_295,
}👎Deprecated:
superseded - the current One ROM Lab is driven over USB CDC and does not use this protocol
Expand description
Commands supported by One ROM Lab
Variants§
Ping = 0
👎Deprecated:
superseded - the current One ROM Lab is driven over USB CDC and does not use this protocol
Response with a Pong. No data follows.
ReadRom = 1
👎Deprecated:
superseded - the current One ROM Lab is driven over USB CDC and does not use this protocol
Trigger a read of the connected ROM. No data follows.
GetRawData = 2
👎Deprecated:
superseded - the current One ROM Lab is driven over USB CDC and does not use this protocol
Trigger a read of a set of raw data associated with the last ROM read.
Data follows - see GetRawData.
Unknown = 4_294_967_295
👎Deprecated:
superseded - the current One ROM Lab is driven over USB CDC and does not use this protocol
Unknown command, do not use. No data follows.
Implementations§
Trait Implementations§
impl Copy for Command
impl Eq for Command
impl StructuralPartialEq for Command
Auto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin 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