Enum ckb_network::errors::PeerError
source · [−]pub enum PeerError {
SessionExists(SessionId),
PeerIdExists(PeerId),
NonReserved,
Banned,
ReachMaxInboundLimit,
ReachMaxOutboundLimit,
}Expand description
Peer error
Variants
SessionExists(SessionId)
Session already exists
PeerIdExists(PeerId)
Peer id exist
NonReserved
Non-reserved peers
Banned
Peer is banned
ReachMaxInboundLimit
Reach max inbound limit
ReachMaxOutboundLimit
Reach max outbound limit