Expand description
Tokio wrappers which apply timeouts to IO operations.
These timeouts are analogous to the read and write timeouts on traditional blocking sockets. A timeout countdown is
initiated when a read/write operation returns Poll::Pending
. If a read/write does not return successfully before
the countdown expires, an io::Error
with a kind of TimedOut
is returned.
Structsยง
- Timeout
Reader - An
AsyncRead
er which applies a timeout to read operations. - Timeout
Stream - A stream which applies read and write timeouts to an inner stream.
- Timeout
Writer - An
AsyncWrite
er which applies a timeout to write operations.