pub enum SharingMode {
Exclusive,
Shared,
}Variants§
Exclusive
This will be the only stream using a particular source or sink. This mode will provide the lowest possible latency. You should close Exclusive streams immediately when you are not using them.
Multiple applications will be mixed by the AAudio Server. This will have higher latency than the Exclusive mode.
Trait Implementations§
Source§impl Clone for SharingMode
impl Clone for SharingMode
Source§fn clone(&self) -> SharingMode
fn clone(&self) -> SharingMode
Returns a duplicate 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 SharingMode
impl Debug for SharingMode
Source§impl PartialEq for SharingMode
impl PartialEq for SharingMode
impl Copy for SharingMode
impl Eq for SharingMode
impl StructuralPartialEq for SharingMode
Auto Trait Implementations§
impl Freeze for SharingMode
impl RefUnwindSafe for SharingMode
impl Send for SharingMode
impl Sync for SharingMode
impl Unpin for SharingMode
impl UnwindSafe for SharingMode
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