pub enum SoundBridgeError {
ZeroPolyphony,
NonMonotonicTime,
}Expand description
Error raised by the MIDI-to-sound bridge and its voice pool.
Variants§
ZeroPolyphony
The configured polyphony limit was zero.
NonMonotonicTime
An event arrived with a tick earlier than the last processed event.
Trait Implementations§
Source§impl Clone for SoundBridgeError
impl Clone for SoundBridgeError
Source§fn clone(&self) -> SoundBridgeError
fn clone(&self) -> SoundBridgeError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SoundBridgeError
impl Debug for SoundBridgeError
Source§impl Display for SoundBridgeError
impl Display for SoundBridgeError
impl Eq for SoundBridgeError
Source§impl Error for SoundBridgeError
impl Error for SoundBridgeError
1.30.0 · Source§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 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for SoundBridgeError
impl PartialEq for SoundBridgeError
impl StructuralPartialEq for SoundBridgeError
Auto Trait Implementations§
impl Freeze for SoundBridgeError
impl RefUnwindSafe for SoundBridgeError
impl Send for SoundBridgeError
impl Sync for SoundBridgeError
impl Unpin for SoundBridgeError
impl UnsafeUnpin for SoundBridgeError
impl UnwindSafe for SoundBridgeError
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