pub enum PreimageError {
UndeclaredField {
field: String,
},
MissingField {
field: String,
},
DuplicateField {
field: String,
},
}Expand description
A value set that does not match the inventory.
Variants§
UndeclaredField
A value was supplied for a field the inventory does not declare.
MissingField
A field bound by the requested digest had no value supplied.
DuplicateField
The same field was supplied more than once.
Trait Implementations§
Source§impl Clone for PreimageError
impl Clone for PreimageError
Source§fn clone(&self) -> PreimageError
fn clone(&self) -> PreimageError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PreimageError
impl Debug for PreimageError
impl Eq for PreimageError
Source§impl PartialEq for PreimageError
impl PartialEq for PreimageError
Source§impl Serialize for PreimageError
impl Serialize for PreimageError
impl StructuralPartialEq for PreimageError
Auto Trait Implementations§
impl Freeze for PreimageError
impl RefUnwindSafe for PreimageError
impl Send for PreimageError
impl Sync for PreimageError
impl Unpin for PreimageError
impl UnsafeUnpin for PreimageError
impl UnwindSafe for PreimageError
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