pub struct PesPacketFilter<Ctx, E>where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,{ /* private fields */ }
Expand description
Implementation of demultiplex::PacketFilter
for
packets that contain PES data.
Delegates handling of PES data to an implementation of
ElementaryStreamConsumer
.
Implementations§
Source§impl<Ctx, E> PesPacketFilter<Ctx, E>where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
impl<Ctx, E> PesPacketFilter<Ctx, E>where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
Sourcepub fn new(stream_consumer: E) -> PesPacketFilter<Ctx, E>
pub fn new(stream_consumer: E) -> PesPacketFilter<Ctx, E>
Construct a new PesPacketFIlter
that will pass pieces of PES data to the given
ElementaryStreamConsumer
Trait Implementations§
Source§impl<Ctx, E> PacketFilter for PesPacketFilter<Ctx, E>where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
impl<Ctx, E> PacketFilter for PesPacketFilter<Ctx, E>where
Ctx: DemuxContext,
E: ElementaryStreamConsumer<Ctx>,
Auto Trait Implementations§
impl<Ctx, E> Freeze for PesPacketFilter<Ctx, E>where
E: Freeze,
impl<Ctx, E> RefUnwindSafe for PesPacketFilter<Ctx, E>where
E: RefUnwindSafe,
Ctx: RefUnwindSafe,
impl<Ctx, E> Send for PesPacketFilter<Ctx, E>
impl<Ctx, E> Sync for PesPacketFilter<Ctx, E>
impl<Ctx, E> Unpin for PesPacketFilter<Ctx, E>
impl<Ctx, E> UnwindSafe for PesPacketFilter<Ctx, E>where
E: UnwindSafe,
Ctx: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more