#[non_exhaustive]pub enum Codec {
Avc1(Avc),
Avc3(Avc),
Mp4a(Mp4a),
Unknown(String),
}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.
Avc1(Avc)
Avc3(Avc)
AVC with in-band parameter sets. Codec-string grammar is identical to
avc1; only the fourcc (and the implied parameter-set location in the
bitstream) differs. Defined in ISO/IEC 14496-15, not RFC 6381 itself.
Mp4a(Mp4a)
Unknown(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