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: DecodeErrorInvalidPeerId(Error)Failed to decode the peer ID.
Tuple Fields of InvalidPeerId
0: ErrorInvalidMultiaddr(Error)Failed to decode a multi-address.
Tuple Fields of InvalidMultiaddr
0: ErrorTrait Implementations
Performs the conversion.
Performs the conversion.