#[non_exhaustive]pub enum CodecId {
SorensonH263,
ScreenVideo,
On2Vp6,
On2Vp6Alpha,
ScreenVideoV2,
Avc,
Hevc,
Reserved(u8),
Unknown(u8),
}Expand description
FLV video CodecID (§E.4.3, Table E.5).
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.
SorensonH263
2: Sorenson H.263.
ScreenVideo
3: Screen video.
On2Vp6
4: On2 VP6.
On2Vp6Alpha
5: On2 VP6 with alpha channel.
ScreenVideoV2
6: Screen video version 2.
Avc
7: AVC (H.264), carried as AVCVIDEOPACKET (§E.4.3.2).
Hevc
12: HEVC (H.265), carried as HEVCVIDEOPACKET.
Reserved(u8)
0, 1, 8, 9 and 13–15: reserved by the specification.
Unknown(u8)
10, 11: outside the table, carried as written.
Implementations§
Trait Implementations§
impl Copy for CodecId
Source§impl<'de> Deserialize<'de> for CodecId
Available on crate feature serde only.
impl<'de> Deserialize<'de> for CodecId
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CodecId
impl StructuralPartialEq for CodecId
Auto Trait Implementations§
impl Forget for CodecId
impl Freeze for CodecId
impl Move for CodecId
impl RefUnwindSafe for CodecId
impl Send for CodecId
impl Sync for CodecId
impl Unpin for CodecId
impl UnsafeUnpin for CodecId
impl UnwindSafe for CodecId
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