Enum rimd::SMFError [] [src]

pub enum SMFError {
    InvalidSMFFile(&'static str),
    MidiError(MidiError),
    MetaError(MetaError),
    Error(Error),
}

An error that occured in parsing an SMF

Variants

InvalidSMFFile
MidiError
MetaError
Error

Trait Implementations

impl From<Error> for SMFError

fn from(err: Error) -> SMFError

impl From<MidiError> for SMFError

fn from(err: MidiError) -> SMFError

impl From<MetaError> for SMFError

fn from(err: MetaError) -> SMFError

impl From<FromUtf8Error> for SMFError

fn from(_: FromUtf8Error) -> SMFError

impl Error for SMFError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for SMFError

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

Derived Implementations

impl Debug for SMFError

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