[][src]Module libp2p_core::transport::timeout

Wraps around a Transport and adds a timeout to all the incoming and outgoing connections.

The timeout includes the upgrading process.

Structs

TimeoutListener
TokioTimerMapErr

Wraps around a Future. Turns the error type from TimeoutError<Err> to TransportTimeoutError<Err>.

TransportTimeout

Wraps around a Transport and adds a timeout to all the incoming and outgoing connections.

Enums

TransportTimeoutError

Error that can be produced by the TransportTimeout layer.