Enum cardano_serialization_lib::error::DeserializeFailure [−][src]
pub enum DeserializeFailure {}Show 18 variants
BadAddressType(u8), BreakInDefiniteLen, CBOR(Error), DefiniteLenMismatch(u64, Option<u64>), DuplicateKey(Key), EndingBreakMissing, ExpectedNull, FixedValueMismatch { found: Key, expected: Key, }, MandatoryFieldMissing(Key), Metadata(JsError), NoVariantMatched, OutOfRange { min: usize, max: usize, found: usize, }, PublicKeyError(PublicKeyError), SignatureError(SignatureError), TagMismatch { found: u64, expected: u64, }, UnknownKey(Key), UnexpectedKeyType(Type), VariableLenNatDecodeFailed,
Variants
Tuple Fields of BadAddressType
0: u8
Tuple Fields of CBOR
0: Error
Tuple Fields of DuplicateKey
0: Key
Tuple Fields of MandatoryFieldMissing
0: Key
Tuple Fields of Metadata
0: JsError
Tuple Fields of PublicKeyError
Tuple Fields of SignatureError
Tuple Fields of UnknownKey
0: Key
Tuple Fields of UnexpectedKeyType
0: Type
Trait Implementations
Performs the conversion.