Enum libp2p_core::upgrade::NegotiationError [−][src]
pub enum NegotiationError {
ProtocolError(ProtocolError),
Failed,
}Expand description
Error that can happen when negotiating a protocol with the remote.
Variants
ProtocolError(ProtocolError)A protocol error occurred during the negotiation.
Protocol negotiation failed because no protocol could be agreed upon.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for NegotiationErrorimpl Send for NegotiationErrorimpl Sync for NegotiationErrorimpl Unpin for NegotiationErrorimpl !UnwindSafe for NegotiationError