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
TransportTimeout
is aTransport
that wraps anotherTransport
and adds timeouts to all inbound and outbound connection attempts.
Enums§
- Error that can be produced by the
TransportTimeout
layer.