Expand description
input
provides traits and types that opendal accepts as input.
Most of them are just alias to futures::AsyncRead
or std::io::Read
.
They are provided for convenient and will not have actual logic.
Modules
- into_reader will provide different implementations to convert into
input::Read
Traits
- BlockingRead is a trait alias of
std::io::Read
to avoid repeatingstd::io::Read + Send
across the codebase. - Read is a trait alias of [
futures::AsyncRead
] to avoid repeatingfutures::AsyncRead + Unpin + Send
across the codebase. - Sink represents a sink of bytes.
- Stream represents a stream of bytes.
- Write represents a writer of bytes.
Functions
- Convert
input::Write
intoinput::Sink
. - Convert
input::Read
intoinput::Stream
. - Convert
input::Sink
intoinput::Write
.
Type Definitions
- BlockingReader is a boxed dyn of
BlockingRead
; - Reader is a boxed dyn of
Read
; - Streamer is a boxed dyn
Stream
. - Writer is a boxed dyn
Write
.