devela::_dep::symphonia::core::meta

Trait MetadataReader

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, Error> ;
}
Available on crate feature dep_symphonia only.

Required Methods§

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

Instantiates the MetadataReader with the provided MetadataOptions.

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

Read all metadata and return it if successful.

Implementations on Foreign Types§

§

impl MetadataReader for Id3v2Reader

§

fn new(_options: &MetadataOptions) -> Id3v2Reader

§

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

Implementors§