Enum mime_detective::DetectiveError
[−]
[src]
pub enum DetectiveError { Magic(MagicError), Parse(FromStrError), IO(Error), }
Represents nested error of magic
as well as parse and io errors
Variants
Magic(MagicError)
Parse(FromStrError)
IO(Error)
Trait Implementations
impl Debug for DetectiveError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for DetectiveError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl Display for DetectiveError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<MagicError> for DetectiveError
[src]
fn from(err: MagicError) -> Self
[src]
Performs the conversion.
impl From<FromStrError> for DetectiveError
[src]
fn from(err: FromStrError) -> Self
[src]
Performs the conversion.