Module libp2p_core::transport::timeout
source · Expand description
Transports with timeouts on the connection setup.
The connection setup includes all protocol upgrades applied on the
underlying Transport.
Structs
- Wraps around a
Future. Turns the error type fromTimeoutError<Err>toTransportTimeoutError<Err>. - A
TransportTimeoutis aTransportthat wraps anotherTransportand adds timeouts to all inbound and outbound connection attempts.
Enums
- Error that can be produced by the
TransportTimeoutlayer.