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