Enum Midi Device Error
pub enum MidiDeviceError {
Capacity,
InvalidPacket,
Unavailable,
Backend(String),
}Expand description
Rejected preparation, packet, device selection or native backend operation.
Variants§
Trait Implementations§
§impl Debug for MidiDeviceError
impl Debug for MidiDeviceError
§impl Display for MidiDeviceError
impl Display for MidiDeviceError
§impl Error for MidiDeviceError
impl Error for MidiDeviceError
1.30.0 · §fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · §fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()