Enum elements::BlindError
source · pub enum BlindError {
InvalidAddress,
TooFewBlindingOutputs,
MustHaveAllExplicitTxOuts,
ConfidentialTxOutError(ConfidentialTxOutError),
NoIssuanceToBlind,
ZeroValueBlindingNotAllowed,
IssuanceAmountMustBeExplicit,
}
Expand description
Errors encountered when blinding transaction outputs.
Variants§
InvalidAddress
The script pubkey does not represent a valid address This is not a fundamental limitation, just a limitation of how the code API is structured
TooFewBlindingOutputs
Too few blinding inputs
MustHaveAllExplicitTxOuts
All outputs must be explicit asset/amounts
ConfidentialTxOutError(ConfidentialTxOutError)
General TxOut errors
NoIssuanceToBlind
No Issuances to blind in this TxIn
ZeroValueBlindingNotAllowed
Zero Value Blinding not allowed
IssuanceAmountMustBeExplicit
Issuance Amount must be explicit
Trait Implementations§
source§impl Clone for BlindError
impl Clone for BlindError
source§fn clone(&self) -> BlindError
fn clone(&self) -> BlindError
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 BlindError
impl Debug for BlindError
source§impl Display for BlindError
impl Display for BlindError
source§impl Error for BlindError
impl Error for BlindError
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 From<ConfidentialTxOutError> for BlindError
impl From<ConfidentialTxOutError> for BlindError
source§fn from(from: ConfidentialTxOutError) -> Self
fn from(from: ConfidentialTxOutError) -> Self
Converts to this type from the input type.
impl Copy for BlindError
Auto Trait Implementations§
impl RefUnwindSafe for BlindError
impl Send for BlindError
impl Sync for BlindError
impl Unpin for BlindError
impl UnwindSafe for BlindError
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