#[non_exhaustive]pub enum EnvelopeCodec {
H264,
Hevc,
Aac,
}Expand description
A codec whose payload travels inside a packet envelope.
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.
Trait Implementations§
Source§impl Clone for EnvelopeCodec
impl Clone for EnvelopeCodec
impl Copy for EnvelopeCodec
Source§impl Debug for EnvelopeCodec
impl Debug for EnvelopeCodec
impl Eq for EnvelopeCodec
Source§impl From<EnvelopeCodec> for FourCc
impl From<EnvelopeCodec> for FourCc
Source§fn from(codec: EnvelopeCodec) -> Self
fn from(codec: EnvelopeCodec) -> Self
The FourCC carried by the codec’s envelope header.
Source§impl Hash for EnvelopeCodec
impl Hash for EnvelopeCodec
Source§impl PartialEq for EnvelopeCodec
impl PartialEq for EnvelopeCodec
impl StructuralPartialEq for EnvelopeCodec
Source§impl TryFrom<FourCc> for EnvelopeCodec
impl TryFrom<FourCc> for EnvelopeCodec
Auto Trait Implementations§
impl Freeze for EnvelopeCodec
impl RefUnwindSafe for EnvelopeCodec
impl Send for EnvelopeCodec
impl Sync for EnvelopeCodec
impl Unpin for EnvelopeCodec
impl UnsafeUnpin for EnvelopeCodec
impl UnwindSafe for EnvelopeCodec
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