Enum libp2p_core::UpgradeError [−][src]
pub enum UpgradeError<E> {
Select(NegotiationError),
Apply(E),
}Expand description
Error that can happen when upgrading a connection or substream to use a protocol.
Variants
Select(NegotiationError)Error during the negotiation process.
Error during the post-negotiation handshake.
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl<E> !RefUnwindSafe for UpgradeError<E>impl<E> Send for UpgradeError<E> where
E: Send, impl<E> Sync for UpgradeError<E> where
E: Sync, impl<E> Unpin for UpgradeError<E> where
E: Unpin, impl<E> !UnwindSafe for UpgradeError<E>