Enum psbt::commit::Lnpbp4KeyError
source · pub enum Lnpbp4KeyError {
InvalidKeyValue,
AlreadySet,
}
Expand description
Errors processing LNPBP4-related proprietary PSBT keys and their values.
Variants§
InvalidKeyValue
The key contains invalid value
AlreadySet
The key is already present, but has a different value
Trait Implementations§
source§impl Clone for Lnpbp4KeyError
impl Clone for Lnpbp4KeyError
source§fn clone(&self) -> Lnpbp4KeyError
fn clone(&self) -> Lnpbp4KeyError
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 Lnpbp4KeyError
impl Debug for Lnpbp4KeyError
source§impl Display for Lnpbp4KeyError
impl Display for Lnpbp4KeyError
source§impl Error for Lnpbp4KeyError
impl Error for Lnpbp4KeyError
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 Lnpbp4KeyError
impl From<Error> for Lnpbp4KeyError
source§impl From<Error> for Lnpbp4KeyError
impl From<Error> for Lnpbp4KeyError
source§impl From<Lnpbp4KeyError> for String
impl From<Lnpbp4KeyError> for String
source§fn from(err: Lnpbp4KeyError) -> Self
fn from(err: Lnpbp4KeyError) -> Self
Converts to this type from the input type.
source§impl Hash for Lnpbp4KeyError
impl Hash for Lnpbp4KeyError
source§impl Ord for Lnpbp4KeyError
impl Ord for Lnpbp4KeyError
source§fn cmp(&self, other: &Lnpbp4KeyError) -> Ordering
fn cmp(&self, other: &Lnpbp4KeyError) -> 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<Lnpbp4KeyError> for Lnpbp4KeyError
impl PartialEq<Lnpbp4KeyError> for Lnpbp4KeyError
source§fn eq(&self, other: &Lnpbp4KeyError) -> bool
fn eq(&self, other: &Lnpbp4KeyError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<Lnpbp4KeyError> for Lnpbp4KeyError
impl PartialOrd<Lnpbp4KeyError> for Lnpbp4KeyError
source§fn partial_cmp(&self, other: &Lnpbp4KeyError) -> Option<Ordering>
fn partial_cmp(&self, other: &Lnpbp4KeyError) -> 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 more