Enum libp2p::core::signed_envelope::DecodingError [−][src]
pub enum DecodingError {
InvalidEnvelope(DecodeError),
InvalidPublicKey(DecodingError),
MissingPublicKey,
}
Expand description
Errors that occur whilst decoding a SignedEnvelope
from its byte representation.
Variants
InvalidEnvelope(DecodeError)
Decoding the provided bytes as a signed envelope failed.
Tuple Fields of InvalidEnvelope
0: DecodeError
InvalidPublicKey(DecodingError)
The public key in the envelope could not be converted to our internal public key type.
Tuple Fields of InvalidPublicKey
The public key in the envelope could not be converted to our internal public key type.
Trait Implementations
Performs the conversion.
Performs the conversion.