Trait opendal::raw::output::ReadExt

source ·
pub trait ReadExt: Read {
    // Provided methods
    fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self> { ... }
    fn seek(&mut self, pos: SeekFrom) -> SeekFuture<'_, Self> { ... }
    fn next(&mut self) -> NextFuture<'_, Self> { ... }
}
Expand description

Extension of Read to make it easier for use.

Provided Methods§

source

fn read<'a>(&'a mut self, buf: &'a mut [u8]) -> ReadFuture<'a, Self>

Build a future for poll_read.

source

fn seek(&mut self, pos: SeekFrom) -> SeekFuture<'_, Self>

Build a future for poll_seek.

source

fn next(&mut self) -> NextFuture<'_, Self>

Build a future for poll_next

Implementors§

source§

impl<T: Read> ReadExt for T

Impl ReadExt for all T: Read