Enum elements::TxOutError
source · pub enum TxOutError {
UnExpectedNullValue,
UnExpectedNullAsset,
MoneyOutofRange,
NonUnspendableZeroValue,
ZeroValueCommitment,
IncorrectBlindingFactors,
}
Expand description
Transaction Output related errors
Variants§
UnExpectedNullValue
Unexpected Null Value
UnExpectedNullAsset
Unexpected Null asset
MoneyOutofRange
Money should be between 0 and 21_000_000
NonUnspendableZeroValue
Zero value explicit txout with non-provably unspendable script
ZeroValueCommitment
Zero value pedersen commitment with provably unspendable script
IncorrectBlindingFactors
Incorrect Blinding factors
Trait Implementations§
source§impl Clone for TxOutError
impl Clone for TxOutError
source§fn clone(&self) -> TxOutError
fn clone(&self) -> TxOutError
Returns a copy 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 TxOutError
impl Debug for TxOutError
source§impl Display for TxOutError
impl Display for TxOutError
source§impl Error for TxOutError
impl Error for TxOutError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 Ord for TxOutError
impl Ord for TxOutError
source§fn cmp(&self, other: &TxOutError) -> Ordering
fn cmp(&self, other: &TxOutError) -> 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 TxOutError
impl PartialEq for TxOutError
source§fn eq(&self, other: &TxOutError) -> bool
fn eq(&self, other: &TxOutError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TxOutError
impl PartialOrd for TxOutError
source§fn partial_cmp(&self, other: &TxOutError) -> Option<Ordering>
fn partial_cmp(&self, other: &TxOutError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TxOutError
impl Eq for TxOutError
impl StructuralPartialEq for TxOutError
Auto Trait Implementations§
impl RefUnwindSafe for TxOutError
impl Send for TxOutError
impl Sync for TxOutError
impl Unpin for TxOutError
impl UnwindSafe for TxOutError
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