pub enum Error {
InvalidChannel(u8),
}
Expand description
Potential errors from parameter validation.
Before some commands are sent to the controller, the parameters are validated. This type enumerates the potential validation errors. Must be specialized on the types of communication errors.
Variants§
InvalidChannel(u8)
For the Start Tone command, the channel was greater than the maximum allowed channel (39). The invalid channel is returned.
Trait Implementations§
impl Copy for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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