pub enum AvcPacket {
Nalu {
composition_time: u32,
data: Bytes,
},
SequenceHeader(AVCDecoderConfigurationRecord),
EndOfSequence,
Unknown {
avc_packet_type: AvcPacketType,
composition_time: u32,
data: Bytes,
},
}Expand description
AVC Packet
Variants§
Nalu
AVC NALU
SequenceHeader(AVCDecoderConfigurationRecord)
AVC Sequence Header
EndOfSequence
AVC End of Sequence
Unknown
AVC Unknown (we don’t know how to parse it)
Implementations§
Trait Implementations§
impl StructuralPartialEq for AvcPacket
Auto Trait Implementations§
impl !Freeze for AvcPacket
impl RefUnwindSafe for AvcPacket
impl Send for AvcPacket
impl Sync for AvcPacket
impl Unpin for AvcPacket
impl UnwindSafe for AvcPacket
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