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) -> Selfwhere
Self: Sized,
fn new(options: &MetadataOptions) -> Selfwhere
Self: Sized,
Instantiates the MetadataReader
with the provided MetadataOptions
.
fn read_all(
&mut self,
reader: &mut MediaSourceStream,
) -> Result<MetadataRevision, Error> ⓘ
fn read_all( &mut self, reader: &mut MediaSourceStream, ) -> Result<MetadataRevision, Error> ⓘ
Read all metadata and return it if successful.