Module embedded_io::adapters
source · [−]Available on crate feature
std only.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
asyncAdapter from futures::io traits.
Adapter from std::io traits.
Adapter to std::io traits.