Enum xio_common::ErrorKind
source · pub enum ErrorKind {
Timeout,
ChannelSenderDisconnected,
ChannelReceiverDisconnected,
ThreadCreation,
SerialPort,
UnexpectedResponseType,
ProgrammerError,
Xio(ErrorCode),
Io,
XioSequenceError,
}
Variants
Timeout
ChannelSenderDisconnected
ChannelReceiverDisconnected
ThreadCreation
SerialPort
UnexpectedResponseType
ProgrammerError
Xio(ErrorCode)
Io
XioSequenceError
Trait Implementations
sourceimpl Fail for ErrorKind
impl Fail for ErrorKind
sourcefn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreimpl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more