pub enum DataValueErrorKind {
Mismatch,
UnknownConstructor,
UnsupportedType,
}Expand description
The reason a closed data value was refused.
Variants§
Mismatch
The declared shape is supported, but the value does not match it.
UnknownConstructor
The tag is absent from a resolved custom type.
UnsupportedType
The declared type has no supported closed JSON representation.
Trait Implementations§
Source§impl Clone for DataValueErrorKind
impl Clone for DataValueErrorKind
impl Copy for DataValueErrorKind
Source§impl Debug for DataValueErrorKind
impl Debug for DataValueErrorKind
impl Eq for DataValueErrorKind
Source§impl PartialEq for DataValueErrorKind
impl PartialEq for DataValueErrorKind
impl StructuralPartialEq for DataValueErrorKind
Auto Trait Implementations§
impl Freeze for DataValueErrorKind
impl RefUnwindSafe for DataValueErrorKind
impl Send for DataValueErrorKind
impl Sync for DataValueErrorKind
impl Unpin for DataValueErrorKind
impl UnsafeUnpin for DataValueErrorKind
impl UnwindSafe for DataValueErrorKind
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.