Enum mpeg2ts_reader::demultiplex::FilterRequest [−][src]
pub enum FilterRequest<'a, 'buf> {
ByPid(Pid),
ByStream {
program_pid: Pid,
stream_type: StreamType,
pmt: &'a PmtSection<'buf>,
stream_info: &'a StreamInfo<'buf>,
},
Pmt {
pid: Pid,
program_number: u16,
},
Nit {
pid: Pid,
},
}Request that may be submitted to a
DemuxContext::construct() implementation.
Variants
ByPid(Pid)requests a filter implementation for handling a PID contained in the transport stream that was not announced via other means (PAT/PMT).
requests a filter for the stream with the given details which has just been discovered within a Program Map Table section.
Fields of ByStream
program_pid: PidThe Pid of the program containing the stream to be handled
stream_type: StreamTypeThe type of the stream to be handled
pmt: &'a PmtSection<'buf>The full PmtSection defining the stream needing to he handled
stream_info: &'a StreamInfo<'buf>the PMT stream information for the specific stream being handled (which will be one
of the values inside the pmt which is also provided.
Requests a filter implementation for handling Program Map Table sections
Fields of Pmt
requests a filter implementation to handle packets containing Network Information Table data
Fields of Nit
pid: PidThe Pid of the packets which contain the NIT.
Trait Implementations
impl<'a, 'buf> Debug for FilterRequest<'a, 'buf>[src]
Auto Trait Implementations
impl<'a, 'buf> RefUnwindSafe for FilterRequest<'a, 'buf>
impl<'a, 'buf> Send for FilterRequest<'a, 'buf>
impl<'a, 'buf> Sync for FilterRequest<'a, 'buf>
impl<'a, 'buf> Unpin for FilterRequest<'a, 'buf> where
'buf: 'a,
'buf: 'a,
impl<'a, 'buf> UnwindSafe for FilterRequest<'a, 'buf>
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>,