pub enum MidiDecoderError {
UnknownData(u8),
Malformed,
UnexpectedEOF,
}
Variants§
Trait Implementations§
Source§impl Clone for MidiDecoderError
impl Clone for MidiDecoderError
Source§fn clone(&self) -> MidiDecoderError
fn clone(&self) -> MidiDecoderError
Returns a copy 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 MidiDecoderError
impl Debug for MidiDecoderError
Source§impl Ord for MidiDecoderError
impl Ord for MidiDecoderError
Source§fn cmp(&self, other: &MidiDecoderError) -> Ordering
fn cmp(&self, other: &MidiDecoderError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MidiDecoderError
impl PartialEq for MidiDecoderError
Source§impl PartialOrd for MidiDecoderError
impl PartialOrd for MidiDecoderError
impl Copy for MidiDecoderError
impl Eq for MidiDecoderError
impl StructuralPartialEq for MidiDecoderError
Auto Trait Implementations§
impl Freeze for MidiDecoderError
impl RefUnwindSafe for MidiDecoderError
impl Send for MidiDecoderError
impl Sync for MidiDecoderError
impl Unpin for MidiDecoderError
impl UnwindSafe for MidiDecoderError
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