Enum rimd::MidiError [] [src]

pub enum MidiError {
    InvalidStatus(u8),
    OtherErr(&'static str),
    Error(Error),
}

An error that can occur trying to parse a midi message

Variants

InvalidStatus
OtherErr
Error

Trait Implementations

impl From<Error> for MidiError

fn from(err: Error) -> MidiError

impl Error for MidiError

fn description(&self) -> &str

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

impl Display for MidiError

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

Derived Implementations

impl Debug for MidiError

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