Enum jvs_packets::Report
source · 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 succesfully.
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 RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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