#[non_exhaustive]pub struct PesPacket {
pub stream_type: u8,
}Expand description
Carriage record for an undecoded elementary stream whose frames are whole PES packets.
Each frame is one complete PES packet, start code through payload, with its PTS, DTS
and every other header field already on the catalog clock. Its timestamp is the
packet’s placement: the program clock at its first byte, which export sends it at.
Each frame is a group of its own, except MPEG-1/2 video’s, grouped from one sequence header
to the next. A member beside Verbatim rather than a Framing, so a consumer that predates it
ignores the track instead of refusing the catalog.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.stream_type: u8PMT stream_type to re-announce (0x06 private PES, …). The stream_id rides
in each packet.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PesPacket
impl<'de> Deserialize<'de> for PesPacket
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 StructuralPartialEq for PesPacket
Auto Trait Implementations§
impl Freeze for PesPacket
impl RefUnwindSafe for PesPacket
impl Send for PesPacket
impl Sync for PesPacket
impl Unpin for PesPacket
impl UnsafeUnpin for PesPacket
impl UnwindSafe for PesPacket
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