#[non_exhaustive]pub enum FrameType {
Keyframe,
Inter,
DisposableInter,
GeneratedKeyframe,
VideoInfo,
Reserved(u8),
Unknown(u8),
}Expand description
FLV video FrameType (§E.4.3, Table E.4).
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.
Keyframe
1: a keyframe (for AVC, a seekable frame).
Inter
2: an inter frame (for AVC, a non-seekable frame).
DisposableInter
3: a disposable inter frame (H.263 only).
GeneratedKeyframe
4: a generated keyframe (reserved for server use only).
VideoInfo
5: video info / command frame.
Reserved(u8)
6, 7: reserved by the specification.
Unknown(u8)
0, 8–15: outside the table, carried as written.
Implementations§
Trait Implementations§
impl Copy for FrameType
Source§impl<'de> Deserialize<'de> for FrameType
Available on crate feature serde only.
impl<'de> Deserialize<'de> for FrameType
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 FrameType
impl StructuralPartialEq for FrameType
Auto Trait Implementations§
impl Forget for FrameType
impl Freeze for FrameType
impl Move for FrameType
impl RefUnwindSafe for FrameType
impl Send for FrameType
impl Sync for FrameType
impl Unpin for FrameType
impl UnsafeUnpin for FrameType
impl UnwindSafe for FrameType
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