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(&'static str)
MidiError(MidiError)
MetaError(MetaError)
Error(Error)
Trait Implementations
impl Debug for SMFError
[src]
impl From<Error> for SMFError
[src]
impl From<MidiError> for SMFError
[src]
impl From<MetaError> for SMFError
[src]
impl From<FromUtf8Error> for SMFError
[src]
fn from(_: FromUtf8Error) -> SMFError
Performs the conversion.
impl Error for SMFError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more