pub enum AudioMasterError {
NoDeviceAvailable,
StreamNotInitialized,
Internal(String),
}Expand description
Error types for the audio master system.
Variants§
NoDeviceAvailable
No audio device is available.
StreamNotInitialized
The stream has not been initialized.
Internal(String)
Internal error with a descriptive message.
Trait Implementations§
Source§impl Clone for AudioMasterError
impl Clone for AudioMasterError
Source§fn clone(&self) -> AudioMasterError
fn clone(&self) -> AudioMasterError
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 AudioMasterError
impl Debug for AudioMasterError
Source§impl PartialEq for AudioMasterError
impl PartialEq for AudioMasterError
Source§impl PartialOrd for AudioMasterError
impl PartialOrd for AudioMasterError
impl StructuralPartialEq for AudioMasterError
Auto Trait Implementations§
impl Freeze for AudioMasterError
impl RefUnwindSafe for AudioMasterError
impl Send for AudioMasterError
impl Sync for AudioMasterError
impl Unpin for AudioMasterError
impl UnwindSafe for AudioMasterError
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