Trait itron::error::ErrorKind [−][src]
pub trait ErrorKind: Copy { fn from_error_code(code: ErrorCode) -> Option<Self>; }
This is supported on crate feature
unstable
only.Expand description
Trait for error kind types.
Required methods
fn from_error_code(code: ErrorCode) -> Option<Self>
fn from_error_code(code: ErrorCode) -> Option<Self>
Categorize the specified error code.
Returns None
if the error code is invalid in this context.
Implementors
impl ErrorKind for itron::messagebuffer::BuildError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::DeleteError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::InfoError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::InitializeError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::RecvError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::RecvTimeoutError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::SendError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::SendTimeoutError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::TryRecvError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.impl ErrorKind for itron::messagebuffer::TrySendError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.