pub enum Report {
Normal = 1,
IncorrectDataSize = 2,
InvalidData = 3,
Busy = 4,
Unknown = 5,
}Expand description
JVS response report codes.
When slave sending response to master, it will always contain a report code, which is placed before first DATA byte.
The Report byte indicates whether a request was completed successfully.
Check variants documentation if you need to know what which code does.
Variants§
Normal = 1
Request was processed successfully.
IncorrectDataSize = 2
Incorrect number of parameters were sent.
InvalidData = 3
Incorrect data was sent
Busy = 4
The device I/O is busy.
Unknown = 5
Unknown report code.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)