pub enum AudioDevice {
Closed,
Opening,
Open,
Failed,
}Expand description
The output device’s state. Closed is the default and what a headless
driver reports; Opening is the ~90 ms the open takes on its own
thread; Failed is a device that refused to open, after which commands
are dropped.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AudioDevice
impl Clone for AudioDevice
impl Copy for AudioDevice
Source§impl Debug for AudioDevice
impl Debug for AudioDevice
Source§impl Default for AudioDevice
impl Default for AudioDevice
impl Eq for AudioDevice
Source§impl PartialEq for AudioDevice
impl PartialEq for AudioDevice
impl StructuralPartialEq for AudioDevice
Auto Trait Implementations§
impl Freeze for AudioDevice
impl RefUnwindSafe for AudioDevice
impl Send for AudioDevice
impl Sync for AudioDevice
impl Unpin for AudioDevice
impl UnsafeUnpin for AudioDevice
impl UnwindSafe for AudioDevice
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.