Trait itron_asp3::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_asp3::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_asp3::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_asp3::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_asp3::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_asp3::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_asp3::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_asp3::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_asp3::messagebuffer::TrySendError
This is supported on crate features
asp3
and messagebuf
, or crate features solid_asp3
and messagebuf
, or crate feature none
only.