zng::task

Module io

source
Expand description

IO tasks.

Most of the types in this module are re-exported from futures_lite::io.

Structs§

Statics§

Traits§

Functions§

  • Copies the entire contents of a reader into a writer.
  • Creates an empty reader.
  • Creates an infinite reader that reads the same byte repeatedly.
  • Creates a writer that consumes and drops all data.
  • Splits a stream into AsyncRead and AsyncWrite halves.

Type Aliases§

  • Type alias for Pin<Box<dyn AsyncRead + Send + 'static>>.
  • Type alias for Pin<Box<dyn AsyncWrite + Send + 'static>>.