Module conn
Available on crate feature
net only.Expand description
Connection utilities
Structs§
- Connection
Health Watcher - Watcher that can update and read the
ConnectionHealth - Lingering
Close - Bounds of a lingering close: after shutting down its own side, a connection keeps reading and discarding what its peer still sends before it is closed.
- MaxConcurrency
- Hint for the maximum number of concurrent requests/streams a connection can serve at once.
Enums§
- Connection
Health - Health of the connection
Functions§
- is_
connection_ error - Check if the error is a connection error, in which case the error can be ignored.