Enum network::protocols::wire::handshake::v1::HandshakeError [−][src]
pub enum HandshakeError {
InvalidChainId(ChainId, ChainId),
InvalidNetworkId(NetworkId, NetworkId),
NoCommonProtocols,
}Expand description
An enum to list the possible errors during the diem handshake negotiation
Variants
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for HandshakeError
impl Send for HandshakeError
impl Sync for HandshakeError
impl Unpin for HandshakeError
impl UnwindSafe for HandshakeError
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = T
Should always be Self