pub enum CovenantLinkError {
Show 17 variants
CoinbaseRequiresIssuanceVerifier,
InputCountMismatch {
transaction: usize,
coins: usize,
},
CoinOutpointMismatch {
input_index: usize,
expected: Outpoint,
actual: Outpoint,
},
MissingLinkedOutput {
input_index: usize,
from: CovenantKind,
},
InvalidTransition {
input_index: usize,
from: CovenantKind,
to: CovenantKind,
},
MalformedCovenant {
input_index: usize,
field: &'static str,
},
NameHashMismatch {
input_index: usize,
},
StartHeightMismatch {
input_index: usize,
},
BlindCommitmentMismatch {
input_index: usize,
},
BidValueInflation {
input_index: usize,
},
ClaimCannotRedeem {
input_index: usize,
},
AddressMismatch {
input_index: usize,
},
LockedValueMismatch {
input_index: usize,
},
TransferDestinationMismatch {
input_index: usize,
},
RevokedCoinSpent {
input_index: usize,
},
UnknownCovenantCreatesName {
input_index: usize,
to: CovenantKind,
},
UnpairedLinkedOutput {
output_index: usize,
kind: CovenantKind,
},
}Variants§
CoinbaseRequiresIssuanceVerifier
InputCountMismatch
CoinOutpointMismatch
MissingLinkedOutput
InvalidTransition
MalformedCovenant
NameHashMismatch
StartHeightMismatch
BlindCommitmentMismatch
BidValueInflation
ClaimCannotRedeem
AddressMismatch
LockedValueMismatch
TransferDestinationMismatch
RevokedCoinSpent
UnknownCovenantCreatesName
UnpairedLinkedOutput
Trait Implementations§
Source§impl Debug for CovenantLinkError
impl Debug for CovenantLinkError
Source§impl Display for CovenantLinkError
impl Display for CovenantLinkError
impl Eq for CovenantLinkError
Source§impl Error for CovenantLinkError
impl Error for CovenantLinkError
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 CovenantLinkError
impl PartialEq for CovenantLinkError
impl StructuralPartialEq for CovenantLinkError
Auto Trait Implementations§
impl Freeze for CovenantLinkError
impl RefUnwindSafe for CovenantLinkError
impl Send for CovenantLinkError
impl Sync for CovenantLinkError
impl Unpin for CovenantLinkError
impl UnsafeUnpin for CovenantLinkError
impl UnwindSafe for CovenantLinkError
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