Enum virtio_drivers::device::sound::NotificationType
source · #[repr(u32)]pub enum NotificationType {
JackConnected = 4_096,
JackDisconnected = 4097,
PcmPeriodElapsed = 4_352,
PcmXrun = 4353,
}Expand description
The notification type.
Variants§
JackConnected = 4_096
An external device has been connected to the jack.
JackDisconnected = 4097
An external device has been disconnected from the jack.
PcmPeriodElapsed = 4_352
A hardware buffer period has elapsed, the period size is controlled using the period_bytes field.
PcmXrun = 4353
An underflow for the output stream or an overflow for the inputstream has occurred.
Trait Implementations§
source§impl Clone for NotificationType
impl Clone for NotificationType
source§fn clone(&self) -> NotificationType
fn clone(&self) -> NotificationType
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 NotificationType
impl Debug for NotificationType
source§impl PartialEq for NotificationType
impl PartialEq for NotificationType
impl Copy for NotificationType
impl Eq for NotificationType
impl StructuralPartialEq for NotificationType
Auto Trait Implementations§
impl Freeze for NotificationType
impl RefUnwindSafe for NotificationType
impl Send for NotificationType
impl Sync for NotificationType
impl Unpin for NotificationType
impl UnwindSafe for NotificationType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)