#[non_exhaustive]pub enum VerifyError {
Structure(Malformed),
Contract(Violation),
}Expand description
A check that failed.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Structure(Malformed)
The bytes are not a well-formed encoding: a serialization failure, ridl §10.3.
Contract(Violation)
The bytes are well formed and hold a value that breaks a typl
constraint: INVALID_VALUE, ridl §10.2.
Trait Implementations§
Source§impl Clone for VerifyError
impl Clone for VerifyError
impl Copy for VerifyError
Source§impl Debug for VerifyError
impl Debug for VerifyError
impl Eq for VerifyError
Source§impl PartialEq for VerifyError
impl PartialEq for VerifyError
impl StructuralPartialEq for VerifyError
Auto Trait Implementations§
impl Freeze for VerifyError
impl RefUnwindSafe for VerifyError
impl Send for VerifyError
impl Sync for VerifyError
impl Unpin for VerifyError
impl UnsafeUnpin for VerifyError
impl UnwindSafe for VerifyError
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