pub enum UnblindError {
NotConfidential,
MissingNonce,
MissingRangeproof,
MalformedAssetId(FromSliceError),
Upstream(Error),
}Expand description
Errors encountered when unblinding TxOuts.
Variants§
NotConfidential
The TxOut is not fully confidential.
MissingNonce
Transaction output does not have a nonce commitment.
MissingRangeproof
Transaction output does not have a rangeproof.
MalformedAssetId(FromSliceError)
Malformed asset ID.
Upstream(Error)
Error originated in secp256k1_zkp.
Trait Implementations§
Source§impl Debug for UnblindError
impl Debug for UnblindError
Source§impl Display for UnblindError
impl Display for UnblindError
Source§impl Error for UnblindError
impl Error for UnblindError
Source§fn cause(&self) -> Option<&(dyn Error + 'static)>
fn cause(&self) -> Option<&(dyn Error + 'static)>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
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 From<Error> for UnblindError
impl From<Error> for UnblindError
Source§impl From<FromSliceError> for UnblindError
impl From<FromSliceError> for UnblindError
Source§fn from(from: FromSliceError) -> Self
fn from(from: FromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnblindError
impl RefUnwindSafe for UnblindError
impl Send for UnblindError
impl Sync for UnblindError
impl Unpin for UnblindError
impl UnwindSafe for UnblindError
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