symphonia_core::meta

Trait MetadataReader

Source
pub trait MetadataReader: Send + Sync {
    // Required methods
    fn new(options: &MetadataOptions) -> Self
       where Self: Sized;
    fn read_all(
        &mut self,
        reader: &mut MediaSourceStream,
    ) -> Result<MetadataRevision>;
}

Required Methods§

Source

fn new(options: &MetadataOptions) -> Self
where Self: Sized,

Instantiates the MetadataReader with the provided MetadataOptions.

Source

fn read_all( &mut self, reader: &mut MediaSourceStream, ) -> Result<MetadataRevision>

Read all metadata and return it if successful.

Implementors§