pub trait Demuxer: Send + Sync {
    fn read_headers(
        &mut self,
        buf: &mut dyn Buffered,
        info: &mut GlobalInfo
    ) -> Result<SeekFrom>; fn read_event(&mut self, buf: &mut dyn Buffered) -> Result<(SeekFrom, Event)>; }
Expand description

Used to implement demuxing operations.

Required Methods

Reads stream headers and global information from a data structure implementing the Buffered trait.

Global information are saved into a GlobalInfo structure.

Reads an event from a data structure implementing the Buffered trait.

Implementors