pub trait ReadMp4: AsyncRead + AsyncSeek + Unpin + Send + Sync + Sized {
fn read_u24<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<u32, MP4Error>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
{ ... }
fn read_i24<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<i32, MP4Error>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
{ ... }
fn read<'life0, 'async_trait, T>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<T, MP4Error>> + Send + 'async_trait>>
where
T: 'async_trait + Mp4Readable,
Self: 'async_trait,
'life0: 'async_trait,
{ ... }
fn versioned_read<'life0, 'async_trait, T, F>(
&'life0 mut self,
version: u8,
flags: F
) -> Pin<Box<dyn Future<Output = Result<T, MP4Error>> + Send + 'async_trait>>
where
T: 'async_trait + Mp4VersionedReadable<F>,
F: 'async_trait + FlagTrait,
Self: 'async_trait,
'life0: 'async_trait,
{ ... }
}