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
NetworkBehaviourthat doesn’t do anything other than keep all connections alive. - ConnectionHandlerDeprecatedImplementation of
ConnectionHandlerthat doesn’t handle anything but keeps the connection alive.