Enum cml_chain::json::metadatums::MetadataJsonError   
source · pub enum MetadataJsonError {
Show 13 variants
    JsonParse(JsonParseError),
    JsonPrinting(Error),
    NullFound,
    BoolFound,
    DetailedKeyMismatch(String, Value),
    InvalidMapEntry,
    InvalidTag(String),
    DetailedNonObject(Value),
    InvalidHex(FromHexError),
    BytesInNoConversions,
    IntTooBig(BigInt),
    InvalidKeyType(TransactionMetadatum),
    InvalidStructure(DeserializeError),
}Variants§
JsonParse(JsonParseError)
JsonPrinting(Error)
NullFound
BoolFound
DetailedKeyMismatch(String, Value)
InvalidMapEntry
InvalidTag(String)
DetailedNonObject(Value)
InvalidHex(FromHexError)
BytesInNoConversions
IntTooBig(BigInt)
InvalidKeyType(TransactionMetadatum)
InvalidStructure(DeserializeError)
Trait Implementations§
source§impl Debug for MetadataJsonError
 
impl Debug for MetadataJsonError
source§impl Display for MetadataJsonError
 
impl Display for MetadataJsonError
source§impl Error for MetadataJsonError
 
impl Error for MetadataJsonError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
 
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
 
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<DeserializeError> for MetadataJsonError
 
impl From<DeserializeError> for MetadataJsonError
source§fn from(source: DeserializeError) -> Self
 
fn from(source: DeserializeError) -> Self
Converts to this type from the input type.
source§impl From<Error> for MetadataJsonError
 
impl From<Error> for MetadataJsonError
source§impl From<FromHexError> for MetadataJsonError
 
impl From<FromHexError> for MetadataJsonError
source§fn from(source: FromHexError) -> Self
 
fn from(source: FromHexError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for MetadataJsonError
impl !Send for MetadataJsonError
impl !Sync for MetadataJsonError
impl Unpin for MetadataJsonError
impl !UnwindSafe for MetadataJsonError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more