Enum libp2p::gossipsub::error::GossipsubHandlerError [−][src]
pub enum GossipsubHandlerError {
MaxInboundSubstreams,
MaxOutboundSubstreams,
MaxTransmissionSize,
NegotiationTimeout,
NegotiationProtocolError(ProtocolError),
Io(Error),
}Expand description
Errors that can occur in the protocols handler.
Variants
The maximum number of inbound substreams created has been exceeded.
The maximum number of outbound substreams created has been exceeded.
The message exceeds the maximum transmission size.
Protocol negotiation timeout.
NegotiationProtocolError(ProtocolError)Protocol negotiation failed.
Io(Error)IO error.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for GossipsubHandlerErrorimpl Send for GossipsubHandlerErrorimpl Sync for GossipsubHandlerErrorimpl Unpin for GossipsubHandlerErrorimpl !UnwindSafe for GossipsubHandlerErrorBlanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)Converts a reference to Self into a dynamic trait object of Fail.
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V