#[non_exhaustive]pub struct PassthroughTrack {
pub track: String,
pub random_access: bool,
}Expand description
A transport stream carried whole, as one track of verbatim packets.
The track’s frames are runs of whole 188-byte packets in source order, each in the legacy
container with the PCR time of its first byte. Nothing else about the multiplex is described
for it, because all of it stays in-band: the PAT, PMT, and SI ride the track as authored,
scrambled payloads included. The section’s mux_rate is measured over
every packet of the track.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.track: StringThe track carrying the packets, published in the same broadcast as the catalog.
random_access: boolWhether every group starts at a random access point of the multiplex’s video stream, or of its clock PID when it has none, so a subscriber can decode from the first object of any.
Only ever true for a single program with at most one video stream: programs or video streams sharing a clock can stagger their GOPs, leaving no packet that starts all of them. Always written; a reader treats it as false when absent.
Implementations§
Trait Implementations§
Source§impl Clone for PassthroughTrack
impl Clone for PassthroughTrack
Source§impl Debug for PassthroughTrack
impl Debug for PassthroughTrack
Source§impl<'de> Deserialize<'de> for PassthroughTrack
impl<'de> Deserialize<'de> for PassthroughTrack
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>,
impl Eq for PassthroughTrack
Source§impl PartialEq for PassthroughTrack
impl PartialEq for PassthroughTrack
Source§impl Serialize for PassthroughTrack
impl Serialize for PassthroughTrack
impl StructuralPartialEq for PassthroughTrack
Auto Trait Implementations§
impl Freeze for PassthroughTrack
impl RefUnwindSafe for PassthroughTrack
impl Send for PassthroughTrack
impl Sync for PassthroughTrack
impl Unpin for PassthroughTrack
impl UnsafeUnpin for PassthroughTrack
impl UnwindSafe for PassthroughTrack
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.