pub enum FrameCodec {
Unspecified,
Vp8,
Vp9Profile0Level10Bit8,
}Expand description
The codec used to encode a video frame. Names include profile/level details for scalability.
Variants§
Unspecified
Unknown/unspecified codec - skip decoding.
Vp8
VP8 codec - no profile variants.
Vp9Profile0Level10Bit8
VP9 Profile 0, Level 1.0, 8-bit (vp09.00.10.08).
Implementations§
Source§impl FrameCodec
impl FrameCodec
Trait Implementations§
Source§impl Clone for FrameCodec
impl Clone for FrameCodec
Source§fn clone(&self) -> FrameCodec
fn clone(&self) -> FrameCodec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FrameCodec
impl Debug for FrameCodec
Source§impl Default for FrameCodec
impl Default for FrameCodec
Source§fn default() -> FrameCodec
fn default() -> FrameCodec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FrameCodec
impl<'de> Deserialize<'de> for FrameCodec
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
Source§impl PartialEq for FrameCodec
impl PartialEq for FrameCodec
Source§impl Serialize for FrameCodec
impl Serialize for FrameCodec
impl Copy for FrameCodec
impl Eq for FrameCodec
impl StructuralPartialEq for FrameCodec
Auto Trait Implementations§
impl Freeze for FrameCodec
impl RefUnwindSafe for FrameCodec
impl Send for FrameCodec
impl Sync for FrameCodec
impl Unpin for FrameCodec
impl UnsafeUnpin for FrameCodec
impl UnwindSafe for FrameCodec
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