Struct mpeg2ts_reader::demultiplex::UnhandledPid
source · pub struct UnhandledPid<Ctx: DemuxContext> { /* private fields */ }
Expand description
an implementation of PacketFilter
that will log a message the first time that consume()
is
called, reporting the PID of the given packet. Register this pid filter as the ‘default’ in
order to have diagnostic logging for packets within the Transport Stream that were not
announced in the PAT or PMT tables.
If you do not want those diagnostic messages, use NullPacketFilter
as the default instead.
Trait Implementations
sourceimpl<Ctx: DemuxContext> Default for UnhandledPid<Ctx>
impl<Ctx: DemuxContext> Default for UnhandledPid<Ctx>
sourcefn default() -> UnhandledPid<Ctx>
fn default() -> UnhandledPid<Ctx>
Returns the “default value” for a type. Read more
sourceimpl<Ctx: DemuxContext> PacketFilter for UnhandledPid<Ctx>
impl<Ctx: DemuxContext> PacketFilter for UnhandledPid<Ctx>
Auto Trait Implementations
impl<Ctx> RefUnwindSafe for UnhandledPid<Ctx>where
Ctx: RefUnwindSafe,
impl<Ctx> Send for UnhandledPid<Ctx>where
Ctx: Send,
impl<Ctx> Sync for UnhandledPid<Ctx>where
Ctx: Sync,
impl<Ctx> Unpin for UnhandledPid<Ctx>where
Ctx: Unpin,
impl<Ctx> UnwindSafe for UnhandledPid<Ctx>where
Ctx: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more