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.