Trait itron_solid_fmp3::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.