#[non_exhaustive]#[repr(u32)]pub enum Access {
MmapInterleaved = 0,
MmapNoninterleaved = 1,
MmapComplex = 2,
ReadWriteInterleaved = 3,
ReadWriteNoninterleaved = 4,
}Available on crate feature
alsa only.Expand description
Defines how the underlying device is accessed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MmapInterleaved = 0
MMAP access with simple interleaved channels
MmapNoninterleaved = 1
MMAP access with simple non interleaved channels
MmapComplex = 2
MMAP access with complex placement
ReadWriteInterleaved = 3
Interleaved read/write access
ReadWriteNoninterleaved = 4
Sequential read/write access
Implementations§
Trait Implementations§
Source§impl Ord for Access
impl Ord for Access
Source§impl PartialOrd for Access
impl PartialOrd for Access
impl Copy for Access
impl Eq for Access
impl StructuralPartialEq for Access
Auto Trait Implementations§
impl Freeze for Access
impl RefUnwindSafe for Access
impl Send for Access
impl Sync for Access
impl Unpin for Access
impl UnwindSafe for Access
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