pub enum Codec {
H264,
H265,
Av1,
Aac,
Ac3,
Eac3,
Opus,
WebVtt,
Other(String),
}Expand description
The codec carried by a stream. The string in Codec::Other is a
best-effort fourcc/codec id for formats not yet first-classed.
Variants§
H264
H265
Av1
Aac
Ac3
Eac3
Opus
WebVtt
Other(String)
Anything else, keyed by its fourcc or registration string.
Implementations§
Trait Implementations§
impl Eq for Codec
impl StructuralPartialEq for Codec
Auto Trait Implementations§
impl Freeze for Codec
impl RefUnwindSafe for Codec
impl Send for Codec
impl Sync for Codec
impl Unpin for Codec
impl UnsafeUnpin for Codec
impl UnwindSafe for Codec
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