Enum ur20::Error
[−]
[src]
pub enum Error { UnknownModule, UnknownCategory, BufferLength, SequenceNumber, DataLength, RegisterCount, ChannelParameter, ChannelValue, ModuleOffset, Address, Io(String), }
UR20 specific errors.
Variants
UnknownModule
UnknownCategory
BufferLength
SequenceNumber
DataLength
RegisterCount
ChannelParameter
ChannelValue
ModuleOffset
Address
Io(String)
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more