[][src]Struct mpeg2ts_reader::demultiplex::PmtPacketFilter

pub struct PmtPacketFilter<Ctx: DemuxContext + 'static> { /* fields omitted */ }

PacketFilter implementation which will insert some other PacketFilter into the Demultiplex instance for each sub-stream listed in one of the stream's PMT-sections.

The particular PacketFilter to be inserted is determined by querying DemuxContxt::construct(), passing a FilterRequest::ByStream request.

Methods

impl<Ctx: DemuxContext> PmtPacketFilter<Ctx>[src]

pub fn new(pid: Pid, program_number: u16) -> PmtPacketFilter<Ctx>[src]

creates a new PmtPacketFilter for PMT sections in packets with the given Pid, and for the given program number.

Trait Implementations

impl<Ctx: DemuxContext> PacketFilter for PmtPacketFilter<Ctx>[src]

type Ctx = Ctx

The type of context-object used by the Demultiplex instance with which implementing PacketFilters will be collaborating. Read more

Auto Trait Implementations

impl<Ctx> Send for PmtPacketFilter<Ctx> where
    Ctx: Send

impl<Ctx> Sync for PmtPacketFilter<Ctx> where
    Ctx: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.