Module libp2p_swarm::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§
- BehaviourDeprecatedImplementation of
NetworkBehaviour
that doesn’t do anything other than keep all connections alive. - ConnectionHandlerDeprecatedImplementation of
ConnectionHandler
that doesn’t handle anything but keeps the connection alive.