Struct libp2p::core::connection::ConnectionLimit [−][src]
Information about a connection limit.
Fields
limit: u32The maximum number of connections.
current: u32The current number of connections.
Trait Implementations
impl Clone for ConnectionLimit[src]
impl Clone for ConnectionLimit[src]pub fn clone(&self) -> ConnectionLimit[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ConnectionLimit[src]
impl Debug for ConnectionLimit[src]impl Display for ConnectionLimit[src]
impl Display for ConnectionLimit[src]impl Error for ConnectionLimit[src]
impl Error for ConnectionLimit[src]A ConnectionLimit can represent an error if it has been exceeded.