Struct libp2p_core::network::ConnectionLimits [−][src]
pub struct ConnectionLimits { /* fields omitted */ }
Expand description
The configurable connection limits.
By default no connection limits apply.
Implementations
Configures the maximum number of concurrently incoming connections being established.
Configures the maximum number of concurrently outgoing connections being established.
Configures the maximum number of concurrent established inbound connections.
Configures the maximum number of concurrent established outbound connections.
Configures the maximum number of concurrent established connections per peer, regardless of direction (incoming or outgoing).
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConnectionLimits
impl Send for ConnectionLimits
impl Sync for ConnectionLimits
impl Unpin for ConnectionLimits
impl UnwindSafe for ConnectionLimits
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V