Struct mpeg2ts_reader::pes::PesPacketFilter [−][src]
pub struct PesPacketFilter<Ctx, E> where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>, { /* fields omitted */ }
Implementation of demultiplex::PacketFilter
for
packets that contain PES data.
Delegates handling of PES data to an implementation of
ElementaryStreamConsumer
.
Implementations
impl<Ctx, E> PesPacketFilter<Ctx, E> where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
[src]
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
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<Ctx>,
[src]
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
Auto Trait Implementations
impl<Ctx, E> RefUnwindSafe for PesPacketFilter<Ctx, E> where
Ctx: RefUnwindSafe,
E: RefUnwindSafe,
Ctx: RefUnwindSafe,
E: RefUnwindSafe,
impl<Ctx, E> Send for PesPacketFilter<Ctx, E> where
Ctx: Send,
E: Send,
Ctx: Send,
E: Send,
impl<Ctx, E> Sync for PesPacketFilter<Ctx, E> where
Ctx: Sync,
E: Sync,
Ctx: Sync,
E: Sync,
impl<Ctx, E> Unpin for PesPacketFilter<Ctx, E> where
Ctx: Unpin,
E: Unpin,
Ctx: Unpin,
E: Unpin,
impl<Ctx, E> UnwindSafe for PesPacketFilter<Ctx, E> where
Ctx: UnwindSafe,
E: UnwindSafe,
Ctx: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,