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 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 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)>
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 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§impl PartialOrd for TxOutError
impl PartialOrd for TxOutError
impl Copy for TxOutError
impl Eq for TxOutError
impl StructuralPartialEq for TxOutError
Auto Trait Implementations§
impl Freeze for TxOutError
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