pub trait Descriptor {
type OutputDemuxer: Demuxer;
// Required methods
fn create(&self) -> Self::OutputDemuxer;
fn describe(&self) -> &Descr;
fn probe(&self, data: &[u8]) -> u8;
}Expand description
Used to get a format descriptor and create a new demuxer.
Required Associated Types§
Sourcetype OutputDemuxer: Demuxer
type OutputDemuxer: Demuxer
The specific type of the demuxer.
Required Methods§
Sourcefn create(&self) -> Self::OutputDemuxer
fn create(&self) -> Self::OutputDemuxer
Creates a new demuxer for the requested format.