#[repr(transparent)]pub struct EnhancedPacketType(pub u8);Expand description
Enhanced Packet Type
The type of packet in an enhanced FLV file.
Defined by:
- enhanced_rtmp-v1.pdf (Defining Additional Video Codecs)
- enhanced_rtmp-v2.pdf (Enhanced Video)
Tuple Fields§
§0: u8Implementations§
Source§impl EnhancedPacketType
impl EnhancedPacketType
Sourcepub const SequenceStart: Self
pub const SequenceStart: Self
Sequence Start
Sourcepub const CodedFrames: Self
pub const CodedFrames: Self
Coded Frames
Sourcepub const SequenceEnd: Self
pub const SequenceEnd: Self
Sequence End
Sourcepub const CodedFramesX: Self
pub const CodedFramesX: Self
Coded Frames X
Sourcepub const Mpeg2SequenceStart: Self
pub const Mpeg2SequenceStart: Self
MPEG-2 Sequence Start
Trait Implementations§
Source§impl Clone for EnhancedPacketType
impl Clone for EnhancedPacketType
Source§fn clone(&self) -> EnhancedPacketType
fn clone(&self) -> EnhancedPacketType
Returns a copy 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 EnhancedPacketType
impl Debug for EnhancedPacketType
Source§impl From<EnhancedPacketType> for u8
impl From<EnhancedPacketType> for u8
Source§fn from(value: EnhancedPacketType) -> Self
fn from(value: EnhancedPacketType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for EnhancedPacketType
impl From<u8> for EnhancedPacketType
Source§impl Hash for EnhancedPacketType
impl Hash for EnhancedPacketType
Source§impl Ord for EnhancedPacketType
impl Ord for EnhancedPacketType
Source§fn cmp(&self, other: &EnhancedPacketType) -> Ordering
fn cmp(&self, other: &EnhancedPacketType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EnhancedPacketType
impl PartialEq for EnhancedPacketType
Source§impl PartialOrd for EnhancedPacketType
impl PartialOrd for EnhancedPacketType
impl Copy for EnhancedPacketType
impl Eq for EnhancedPacketType
impl StructuralPartialEq for EnhancedPacketType
Auto Trait Implementations§
impl Freeze for EnhancedPacketType
impl RefUnwindSafe for EnhancedPacketType
impl Send for EnhancedPacketType
impl Sync for EnhancedPacketType
impl Unpin for EnhancedPacketType
impl UnwindSafe for EnhancedPacketType
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