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

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.

Implementations

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> RefUnwindSafe for PmtPacketFilter<Ctx> where
    Ctx: RefUnwindSafe

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

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

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

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

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.