Crate monoio_compat

Crate monoio_compat 

Source
Expand description

For compat with tokio AsyncRead and AsyncWrite.

Modules§

box_future

Structs§

StreamWrapper
A wrapper for stream with ownership that impl AsyncReadRent and AsyncWriteRent. The Wrapper will impl tokio AsyncRead and AsyncWrite. Mainly used for compatible.
TcpStreamCompatUnsafe

Traits§

AsyncRead
Reads bytes from a source.
AsyncReadExt
Reads bytes from a source.
AsyncWrite
Writes bytes asynchronously.
AsyncWriteExt
Writes bytes to a sink.

Type Aliases§

TcpStreamCompat
UnixStreamCompat