pub enum RolandError {
SyntaxError,
Invalid,
OutOfRange,
NoStx,
UnknownError(u8),
InvalidAddress,
InvalidValue,
InvalidResponse,
}Expand description
Error types for Roland VR-6HD communication
Variants§
SyntaxError
Syntax error in received command
Invalid
Invalid command due to other settings
OutOfRange
Parameter out of range
NoStx
Missing STX at command start (RS-232 only)
UnknownError(u8)
Unknown error code
InvalidAddress
Invalid address format
InvalidValue
Invalid value format
InvalidResponse
Invalid response format
Trait Implementations§
Source§impl Clone for RolandError
impl Clone for RolandError
Source§fn clone(&self) -> RolandError
fn clone(&self) -> RolandError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RolandError
impl Debug for RolandError
Source§impl Display for RolandError
impl Display for RolandError
Source§impl PartialEq for RolandError
impl PartialEq for RolandError
impl Eq for RolandError
impl StructuralPartialEq for RolandError
Auto Trait Implementations§
impl Freeze for RolandError
impl RefUnwindSafe for RolandError
impl Send for RolandError
impl Sync for RolandError
impl Unpin for RolandError
impl UnwindSafe for RolandError
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