Struct rust_ipfs::p2p::SwarmConfig
source · pub struct SwarmConfig {
pub connection: ConnectionLimits,
pub dial_concurrency_factor: NonZeroU8,
pub notify_handler_buffer_size: NonZeroUsize,
pub connection_event_buffer_size: usize,
pub max_inbound_stream: usize,
}
Fields§
§connection: ConnectionLimits
§dial_concurrency_factor: NonZeroU8
§notify_handler_buffer_size: NonZeroUsize
§connection_event_buffer_size: usize
§max_inbound_stream: usize
Trait Implementations§
source§impl Clone for SwarmConfig
impl Clone for SwarmConfig
source§fn clone(&self) -> SwarmConfig
fn clone(&self) -> SwarmConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more