pub enum ValidationResult {
Cosigned,
CosignedArkoor,
}Expand description
Result of VTXO validation
Variants§
Cosigned
The VTXO is safe as long as one of the given cosign pubkeys is trusted to not create a double spend.
CosignedArkoor
The VTXO is safe as long as
- one of the cosign pubkeys does not create a double spend, and
- none of the arkoor pubkeys colludes with the server to create a double spend.
Trait Implementations§
Source§impl Clone for ValidationResult
impl Clone for ValidationResult
Source§fn clone(&self) -> ValidationResult
fn clone(&self) -> ValidationResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ValidationResult
impl Debug for ValidationResult
Source§impl Hash for ValidationResult
impl Hash for ValidationResult
Source§impl Ord for ValidationResult
impl Ord for ValidationResult
Source§fn cmp(&self, other: &ValidationResult) -> Ordering
fn cmp(&self, other: &ValidationResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ValidationResult
impl PartialEq for ValidationResult
Source§impl PartialOrd for ValidationResult
impl PartialOrd for ValidationResult
impl Eq for ValidationResult
impl StructuralPartialEq for ValidationResult
Auto Trait Implementations§
impl Freeze for ValidationResult
impl RefUnwindSafe for ValidationResult
impl Send for ValidationResult
impl Sync for ValidationResult
impl Unpin for ValidationResult
impl UnwindSafe for ValidationResult
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