pub trait Metadata<'a> {
// Required methods
fn title(&self) -> Option<Cow<'_, str>>;
fn year(&self) -> Option<u32>;
fn poster(&self) -> Option<&[u8]>;
fn summary(&self) -> Option<Cow<'_, str>>;
}
pub trait Metadata<'a> {
// Required methods
fn title(&self) -> Option<Cow<'_, str>>;
fn year(&self) -> Option<u32>;
fn poster(&self) -> Option<&[u8]>;
fn summary(&self) -> Option<Cow<'_, str>>;
}