pub enum AudioOutputError {
DriverUnavailable,
InitializationFailed(i32),
StartFailed(i32),
}Expand description
Error returned when initializing or starting a native OS audio output driver.
Variants§
No native OS audio output driver is implemented or available for this host target.
InitializationFailed(i32)
Native audio component lookup, format configuration, or initialization failed with an OS status code.
StartFailed(i32)
Native audio output unit failed to start streaming with an OS status code.
Trait Implementations§
Source§impl Clone for AudioOutputError
impl Clone for AudioOutputError
impl Copy for AudioOutputError
Source§impl Debug for AudioOutputError
impl Debug for AudioOutputError
Source§impl Display for AudioOutputError
Human-readable formatting for AudioOutputError.
impl Display for AudioOutputError
Human-readable formatting for AudioOutputError.
impl Eq for AudioOutputError
Source§impl Error for AudioOutputError
Standard Error implementation for AudioOutputError.
impl Error for AudioOutputError
Standard Error implementation for AudioOutputError.
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 Hash for AudioOutputError
impl Hash for AudioOutputError
Source§impl PartialEq for AudioOutputError
impl PartialEq for AudioOutputError
impl StructuralPartialEq for AudioOutputError
Auto Trait Implementations§
impl Forget for AudioOutputError
impl Freeze for AudioOutputError
impl Move for AudioOutputError
impl RefUnwindSafe for AudioOutputError
impl Send for AudioOutputError
impl Sync for AudioOutputError
impl Unpin for AudioOutputError
impl UnsafeUnpin for AudioOutputError
impl UnwindSafe for AudioOutputError
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