Enum simplemad::SimplemadError [] [src]

pub enum SimplemadError {
    Read(Error),
    Mad(MadError),
    EOF,
}

An error encountered during the decoding process

Variants

Read

An io::Error generated by the Reader

Mad

A MadError generated by libmad

EOF

The Reader has stopped producing data

Trait Implementations

impl From<MadError> for SimplemadError

fn from(err: MadError) -> SimplemadError

impl From<Error> for SimplemadError

fn from(err: Error) -> SimplemadError

Derived Implementations

impl Debug for SimplemadError

fn fmt(&self, __arg_0: &mut Formatter) -> Result