Struct libp2p_swarm::OneShotHandlerConfig [−][src]
pub struct OneShotHandlerConfig { pub keep_alive_timeout: Duration, pub outbound_substream_timeout: Duration, pub max_dial_negotiated: u32, }
Configuration parameters for the OneShotHandler
Fields
keep_alive_timeout: Duration
Keep-alive timeout for idle connections.
outbound_substream_timeout: Duration
Timeout for outbound substream upgrades.
max_dial_negotiated: u32
Maximum number of concurrent outbound substreams being opened.
Trait Implementations
impl Default for OneShotHandlerConfig
[src]
impl Default for OneShotHandlerConfig
[src]