Enum rgbwallet::psbt::Lnpbp4PsbtError
source · pub enum Lnpbp4PsbtError {
InvalidKeyValue,
InvalidHashValue,
MessageMapTooLarge(Error),
AlreadySet,
}Expand description
Errors processing LNPBP4-related proprietary PSBT keys and their values.
Variants§
InvalidKeyValue
the key contains invalid value.
InvalidHashValue
the length of the commitment data doesn’t match 32 byte hash.
MessageMapTooLarge(Error)
message map produced from PSBT inputs exceeds maximum size bounds.
AlreadySet
the key is already present, but has a different value.
Trait Implementations§
source§impl Clone for Lnpbp4PsbtError
impl Clone for Lnpbp4PsbtError
source§fn clone(&self) -> Lnpbp4PsbtError
fn clone(&self) -> Lnpbp4PsbtError
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 Lnpbp4PsbtError
impl Debug for Lnpbp4PsbtError
source§impl Display for Lnpbp4PsbtError
impl Display for Lnpbp4PsbtError
source§impl Error for Lnpbp4PsbtError
impl Error for Lnpbp4PsbtError
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<Error> for Lnpbp4PsbtError
impl From<Error> for Lnpbp4PsbtError
source§impl From<Error> for Lnpbp4PsbtError
impl From<Error> for Lnpbp4PsbtError
source§impl From<FromSliceError> for Lnpbp4PsbtError
impl From<FromSliceError> for Lnpbp4PsbtError
source§fn from(v: FromSliceError) -> Self
fn from(v: FromSliceError) -> Self
Converts to this type from the input type.
source§impl From<Lnpbp4PsbtError> for DbcPsbtError
impl From<Lnpbp4PsbtError> for DbcPsbtError
source§fn from(v: Lnpbp4PsbtError) -> Self
fn from(v: Lnpbp4PsbtError) -> Self
Converts to this type from the input type.
source§impl From<Lnpbp4PsbtError> for String
impl From<Lnpbp4PsbtError> for String
source§fn from(err: Lnpbp4PsbtError) -> Self
fn from(err: Lnpbp4PsbtError) -> Self
Converts to this type from the input type.
source§impl PartialEq for Lnpbp4PsbtError
impl PartialEq for Lnpbp4PsbtError
source§fn eq(&self, other: &Lnpbp4PsbtError) -> bool
fn eq(&self, other: &Lnpbp4PsbtError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for Lnpbp4PsbtError
impl Eq for Lnpbp4PsbtError
impl StructuralEq for Lnpbp4PsbtError
impl StructuralPartialEq for Lnpbp4PsbtError
Auto Trait Implementations§
impl RefUnwindSafe for Lnpbp4PsbtError
impl Send for Lnpbp4PsbtError
impl Sync for Lnpbp4PsbtError
impl Unpin for Lnpbp4PsbtError
impl UnwindSafe for Lnpbp4PsbtError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.