Skip to main content

Catalog

Trait Catalog 

Source
pub trait Catalog: CatalogExt {
    // Required method
    fn mpegts_mut(&mut self) -> Option<&mut Mpegts>;
}
Expand description

An extension that can carry an mpegts catalog section.

Implement this for an application extension to compose MPEG-TS carriage with additional sections.

Required Methods§

Source

fn mpegts_mut(&mut self) -> Option<&mut Mpegts>

The section to record MPEG-TS details into, or None for an extension that doesn’t carry them.

Keep this stable per catalog: an importer samples support once at construction, so a result that flips between Some and None mid-stream would disable verbatim carriage or fail.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl Catalog for ()

Source§

fn mpegts_mut(&mut self) -> Option<&mut Mpegts>

Implementors§