[−][src]Enum wmidi::FromBytesError
Midi decoding errors.
Variants
The MIDI channel is not between 1 and 16 inclusive.
No MIDI bytes were provided.
A SysEx start byte was provided, but there was no corresponding SysEx end byte.
Not enough data bytes for the specified MIDI message.
Found a SysEx end byte, but there was no start byte.
UnexpectedNonSysExEndByte(u8)
Found a status byte interleaved with SysEx data. SysEx messages should be a start byte, followed by data bytes, and ending in a end byte.
Found a status byte, but expected a U7
data byte.
Midi notes must be in the range [0, 127] inclusive.
Data (U7) bytes must be between [0, 127] inclusive.
Data (U14) bytes must be between [0x0000, 0x03FF] or [0, 16383] inclusive.
Trait Implementations
impl Clone for FromBytesError
[src]
fn clone(&self) -> FromBytesError
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FromBytesError
[src]
impl Debug for FromBytesError
[src]
impl Display for FromBytesError
[src]
impl Eq for FromBytesError
[src]
impl Error for FromBytesError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<FromBytesError> for FromBytesError
[src]
fn eq(&self, other: &FromBytesError) -> bool
[src]
fn ne(&self, other: &FromBytesError) -> bool
[src]
impl StructuralEq for FromBytesError
[src]
impl StructuralPartialEq for FromBytesError
[src]
Auto Trait Implementations
impl RefUnwindSafe for FromBytesError
impl Send for FromBytesError
impl Sync for FromBytesError
impl Unpin for FromBytesError
impl UnwindSafe for FromBytesError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,