[][src]Struct mpeg2ts_reader::pes::PesPacketFilter

pub struct PesPacketFilter<Ctx, E> where
    Ctx: DemuxContext,
    E: ElementaryStreamConsumer
{ /* fields omitted */ }

Implementation of demultiplex::PacketFilter for packets that contain PES data.

Delegates handling of PES data to an implementation of ElementaryStreamConsumer.

Methods

impl<Ctx, E> PesPacketFilter<Ctx, E> where
    Ctx: DemuxContext,
    E: ElementaryStreamConsumer
[src]

pub fn new(stream_consumer: E) -> PesPacketFilter<Ctx, E>[src]

Construct a new PesPacketFIlter that will pass pieces of PES data to the given ElementaryStreamConsumer

Trait Implementations

impl<Ctx, E> PacketFilter for PesPacketFilter<Ctx, E> where
    Ctx: DemuxContext,
    E: ElementaryStreamConsumer
[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, E> Send for PesPacketFilter<Ctx, E> where
    Ctx: Send,
    E: Send

impl<Ctx, E> Sync for PesPacketFilter<Ctx, E> where
    Ctx: Sync,
    E: 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.