Enum libp2p_core::signed_envelope::DecodingError
source · [−]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.
InvalidPublicKey(DecodingError)
The public key in the envelope could not be converted to our internal public key type.
MissingPublicKey
The public key in the envelope could not be converted to our internal public key type.
Trait Implementations
Performs the conversion.
Performs the conversion.