Module keep_alive

Module keep_alive 

Source
👎Deprecated: Configure an appropriate idle connection timeout via SwarmBuilder::idle_connection_timeout instead. To keep connections alive ‘forever’, use Duration::from_secs(u64::MAX).

Structs§

BehaviourDeprecated
Implementation of NetworkBehaviour that doesn’t do anything other than keep all connections alive.
ConnectionHandlerDeprecated
Implementation of ConnectionHandler that doesn’t handle anything but keeps the connection alive.