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]
impl Debug for DetectiveError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for DetectiveError
[src]
impl Error for DetectiveError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for DetectiveError
[src]
impl Display for DetectiveError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<MagicError> for DetectiveError
[src]
impl From<MagicError> for DetectiveError
fn from(err: MagicError) -> Self
[src]
fn from(err: MagicError) -> Self
Performs the conversion.
impl From<FromStrError> for DetectiveError
[src]
impl From<FromStrError> for DetectiveError
fn from(err: FromStrError) -> Self
[src]
fn from(err: FromStrError) -> Self
Performs the conversion.
impl From<Error> for DetectiveError
[src]
impl From<Error> for DetectiveError
Auto Trait Implementations
impl Send for DetectiveError
impl Send for DetectiveError
impl Sync for DetectiveError
impl Sync for DetectiveError