Enum libp2p::core::peer_record::FromEnvelopeError [−][src]
pub enum FromEnvelopeError {
BadPayload(ReadPayloadError),
InvalidPeerRecord(DecodeError),
InvalidPeerId(Error),
InvalidMultiaddr(Error),
}
Variants
BadPayload(ReadPayloadError)
Failed to extract the payload from the envelope.
Tuple Fields of BadPayload
InvalidPeerRecord(DecodeError)
Failed to decode the provided bytes as a PeerRecord
.
Tuple Fields of InvalidPeerRecord
0: DecodeError
InvalidPeerId(Error)
Failed to decode the peer ID.
Tuple Fields of InvalidPeerId
0: Error
InvalidMultiaddr(Error)
Failed to decode a multi-address.
Tuple Fields of InvalidMultiaddr
0: Error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.