#[repr(u8)]pub enum Validity {
Valid = 1,
SealIssues = 255,
Invalid = 0,
}Expand description
Result of client-side validation operation
Variants§
Valid = 1
The data are valid both in terms of the internal consistency and in terms of commitments in the single-use-seals medium
SealIssues = 255
The data are internally consistent and valid, but there were (multiple) issues with resolving single-use-seals reported by the provided seal resolver. These issues are not failed single-use-seals, but rather errors accessing single-use-seals commitment medium about its status (networking issues, transaction present in mempool and not yet mined etc).
Invalid = 0
The data are internally inconsistent/invalid
Trait Implementations§
Source§impl Ord for Validity
impl Ord for Validity
Source§impl PartialOrd for Validity
impl PartialOrd for Validity
impl Copy for Validity
impl Eq for Validity
impl StructuralPartialEq for Validity
Auto Trait Implementations§
impl Freeze for Validity
impl RefUnwindSafe for Validity
impl Send for Validity
impl Sync for Validity
impl Unpin for Validity
impl UnwindSafe for Validity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.