pub enum MidiParseError {
BufferTooShort,
MessageNotFound,
}Expand description
Errors parsing.
Variants§
BufferTooShort
Input buffer wasn’t long enough to parse anything
MessageNotFound
Couldn’t find a valid message
Trait Implementations§
Source§impl Clone for MidiParseError
impl Clone for MidiParseError
Source§fn clone(&self) -> MidiParseError
fn clone(&self) -> MidiParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MidiParseError
impl Debug for MidiParseError
Source§impl PartialEq for MidiParseError
impl PartialEq for MidiParseError
impl Eq for MidiParseError
impl StructuralPartialEq for MidiParseError
Auto Trait Implementations§
impl Freeze for MidiParseError
impl RefUnwindSafe for MidiParseError
impl Send for MidiParseError
impl Sync for MidiParseError
impl Unpin for MidiParseError
impl UnwindSafe for MidiParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more