Module tokio::io::util::empty

source ·

Structs§

  • Empty ignores any data written via AsyncWrite, and will always be empty (returning zero bytes) when read via AsyncRead.

Functions§

  • Creates a value that is always at EOF for reads, and ignores all data written.