Module embedded_io::adapters
source · [−]Expand description
Adapters to/from other IO traits.
To interoperate with other IO trait ecosystems, wrap a type in one of these adapters.
There’s no separate adapters for Read/ReadBuf/Write traits. Instead, a single
adapter implements the right traits based on what the inner type implements.
This allows adapting a Read+Write
, for example.
Structs
FromFutures
futures
Adapter from futures::io
traits.
FromStd
std
Adapter from std::io
traits.
FromTokio
tokio
Adapter from tokio::io
traits.
ToStd
std
Adapter to std::io
traits.