Trait symphonia_core::meta::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§