RasterPageReader

Trait RasterPageReader 

Source
pub trait RasterPageReader<R>: Sized
where R: DerefMut<Target: AsyncRead>,
{ type Header; type Decoder: RasterDecoder<R>; type Error; type NextPageFuture: Future<Output = Result<Option<Self>, Self::Error>>; // Required methods fn next_page(self) -> Self::NextPageFuture; fn header(&self) -> &Self::Header; fn content_mut(&mut self) -> &mut Self::Decoder; fn into_content(self) -> Self::Decoder; }

Required Associated Types§

Required Methods§

Source

fn next_page(self) -> Self::NextPageFuture

Source

fn header(&self) -> &Self::Header

Source

fn content_mut(&mut self) -> &mut Self::Decoder

Source

fn into_content(self) -> Self::Decoder

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§