pub enum AudioHandleErrorKind {
AudioSubsystem,
AudioStream,
InvalidArguments,
}
Expand description
A list specifying categories of AudioHandleError error.
Variants§
AudioSubsystem
This error occurs when the audio subsystem host or device is not available.
AudioStream
This error occurs while trying to create or modify an audio stream.
InvalidArguments
This error occurs due to the invalid specification of the desired audio parameters or other arguments.
Trait Implementations§
source§impl Clone for AudioHandleErrorKind
impl Clone for AudioHandleErrorKind
source§fn clone(&self) -> AudioHandleErrorKind
fn clone(&self) -> AudioHandleErrorKind
Returns a copy 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 AudioHandleErrorKind
impl Debug for AudioHandleErrorKind
source§impl PartialEq<AudioHandleErrorKind> for AudioHandleErrorKind
impl PartialEq<AudioHandleErrorKind> for AudioHandleErrorKind
source§fn eq(&self, other: &AudioHandleErrorKind) -> bool
fn eq(&self, other: &AudioHandleErrorKind) -> bool
impl Copy for AudioHandleErrorKind
impl Eq for AudioHandleErrorKind
impl StructuralEq for AudioHandleErrorKind
impl StructuralPartialEq for AudioHandleErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for AudioHandleErrorKind
impl Send for AudioHandleErrorKind
impl Sync for AudioHandleErrorKind
impl Unpin for AudioHandleErrorKind
impl UnwindSafe for AudioHandleErrorKind
Blanket Implementations§
source§impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
impl<S, T> IntoSample<S> for Twhere
S: FromSample<T>,
source§fn into_sample(self) -> S
fn into_sample(self) -> S
Convert to
S
a sample type from self
.