tokio
1.41.1
Module empty
Structs
Functions
In tokio::io::util
Module
tokio
::
io
::
util
::
empty
Copy item path
source
·
[
−
]
Structs
§
Empty
Empty
ignores any data written via
AsyncWrite
, and will always be empty (returning zero bytes) when read via
AsyncRead
.
Functions
§
empty
Creates a value that is always at EOF for reads, and ignores all data written.