pub enum SoundError {
NoError,
NoDevice,
OutputStream,
UnknownStreamFormat,
}
Expand description
error produced when creating the SoundDriver
Variants§
NoError
sound initialization was a success
NoDevice
no sound device was found
OutputStream
could not create an output stream
UnknownStreamFormat
unsupported output stream format
Trait Implementations§
Source§impl Clone for SoundError
impl Clone for SoundError
Source§fn clone(&self) -> SoundError
fn clone(&self) -> SoundError
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 SoundError
impl Debug for SoundError
impl Copy for SoundError
Auto Trait Implementations§
impl Freeze for SoundError
impl RefUnwindSafe for SoundError
impl Send for SoundError
impl Sync for SoundError
impl Unpin for SoundError
impl UnwindSafe for SoundError
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