#[non_exhaustive]pub enum Codec {
Show 17 variants
H264,
H265,
Aac,
Pcma,
Pcmu,
Opus,
Vp8,
Vp9,
Mp3,
G726_16,
G726_24,
G726_32,
G726_40,
Av1,
Jpeg,
H263,
Mpeg4,
}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.
H264
H265
Aac
Pcma
Pcmu
Opus
Vp8
Vp9
Mp3
MPEG-1/2 Audio (MP3), RFC 2250/5219.
G726_16
G.726 at 16 kbit/s (RFC 3551).
G726_24
G.726 at 24 kbit/s.
G726_32
G.726 at 32 kbit/s.
G726_40
G.726 at 40 kbit/s.
Av1
AV1 video (draft-ietf-payload-av1).
Jpeg
Motion JPEG (RFC 2435).
H263
H.263 (RFC 4629, H263-1998).
Mpeg4
MPEG-4 Part 2 Visual (RFC 3016, MP4V-ES).
Trait Implementations§
impl Copy for Codec
impl Eq for Codec
impl StructuralPartialEq for Codec
Auto Trait Implementations§
impl Forget for Codec
impl Freeze for Codec
impl Move 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