pub enum VtxoValidationError {
Invalid(&'static str),
IncorrectChainAnchor {
expected: TxOut,
},
InconsistentCosignPubkeys,
GenesisTransition {
error: &'static str,
genesis_item_idx: usize,
},
NonStandardTxOut {
genesis_item_idx: usize,
other_output_idx: usize,
},
InvalidArkoorPolicy {
policy: VtxoPolicyKind,
msg: &'static str,
},
}Variants§
Invalid(&'static str)
IncorrectChainAnchor
InconsistentCosignPubkeys
GenesisTransition
NonStandardTxOut
InvalidArkoorPolicy
Trait Implementations§
Source§impl Debug for VtxoValidationError
impl Debug for VtxoValidationError
Source§impl Display for VtxoValidationError
impl Display for VtxoValidationError
Source§impl Error for VtxoValidationError
impl Error for VtxoValidationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for VtxoValidationError
impl PartialEq for VtxoValidationError
impl Eq for VtxoValidationError
impl StructuralPartialEq for VtxoValidationError
Auto Trait Implementations§
impl Freeze for VtxoValidationError
impl RefUnwindSafe for VtxoValidationError
impl Send for VtxoValidationError
impl Sync for VtxoValidationError
impl Unpin for VtxoValidationError
impl UnwindSafe for VtxoValidationError
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