pub enum GossipsubHandlerError {
MaxInboundSubstreams,
MaxOutboundSubstreams,
MaxTransmissionSize,
NegotiationTimeout,
NegotiationProtocolError(ProtocolError),
Io(Error),
}
Expand description
Errors that can occur in the protocols handler.
Variants
MaxInboundSubstreams
The maximum number of inbound substreams created has been exceeded.
MaxOutboundSubstreams
The maximum number of outbound substreams created has been exceeded.
MaxTransmissionSize
The message exceeds the maximum transmission size.
NegotiationTimeout
Protocol negotiation timeout.
NegotiationProtocolError(ProtocolError)
Protocol negotiation failed.
Io(Error)
IO error.
Trait Implementations
Performs the conversion.