Enum opus::Application
source · [−]pub enum Application {
Voip,
Audio,
LowDelay,
}
Expand description
The possible applications for the codec.
Variants
Voip
Best for most VoIP/videoconference applications where listening quality and intelligibility matter most.
Audio
Best for broadcast/high-fidelity application where the decoded audio should be as close as possible to the input.
LowDelay
Only use when lowest-achievable latency is what matters most.
Trait Implementations
sourceimpl Clone for Application
impl Clone for Application
sourcefn clone(&self) -> Application
fn clone(&self) -> Application
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Application
impl Debug for Application
sourceimpl Hash for Application
impl Hash for Application
sourceimpl PartialEq<Application> for Application
impl PartialEq<Application> for Application
impl Copy for Application
impl Eq for Application
impl StructuralEq for Application
impl StructuralPartialEq for Application
Auto Trait Implementations
impl RefUnwindSafe for Application
impl Send for Application
impl Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more