Enum rgbwallet::psbt::DbcPsbtError
source · pub enum DbcPsbtError {
TapTreeNonEmpty,
NoInternalKey,
NoHostOutput,
MultipleCommitmentHosts,
MethodUnsupported(CloseMethod),
Mpc(Error),
Lnpbp4Psbt(Lnpbp4PsbtError),
TapretKey(TapretKeyError),
OpretKey(OpretKeyError),
TaprootBuilder(TaprootBuilderError),
}Variants§
TapTreeNonEmpty
Using non-empty taptree is not supported in RGB v0.10. Please update.
NoInternalKey
taproot output doesn’t specify internal key.
NoHostOutput
none of the outputs is market as a commitment host.
MultipleCommitmentHosts
multiple commitment outputs are found
MethodUnsupported(CloseMethod)
commitment method {0} is not supported yet. Please update.
Mpc(Error)
Lnpbp4Psbt(Lnpbp4PsbtError)
TapretKey(TapretKeyError)
OpretKey(OpretKeyError)
TaprootBuilder(TaprootBuilderError)
Trait Implementations§
source§impl Clone for DbcPsbtError
impl Clone for DbcPsbtError
source§fn clone(&self) -> DbcPsbtError
fn clone(&self) -> DbcPsbtError
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 DbcPsbtError
impl Debug for DbcPsbtError
source§impl Display for DbcPsbtError
impl Display for DbcPsbtError
source§impl Error for DbcPsbtError
impl Error for DbcPsbtError
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<E1, E2: Error> From<DbcPsbtError> for PayError<E1, E2>
impl<E1, E2: Error> From<DbcPsbtError> for PayError<E1, E2>
source§fn from(v: DbcPsbtError) -> Self
fn from(v: DbcPsbtError) -> Self
Converts to this type from the input type.
source§impl From<DbcPsbtError> for String
impl From<DbcPsbtError> for String
source§fn from(err: DbcPsbtError) -> Self
fn from(err: DbcPsbtError) -> Self
Converts to this type from the input type.
source§impl From<Error> for DbcPsbtError
impl From<Error> for DbcPsbtError
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<OpretKeyError> for DbcPsbtError
impl From<OpretKeyError> for DbcPsbtError
source§fn from(v: OpretKeyError) -> Self
fn from(v: OpretKeyError) -> Self
Converts to this type from the input type.
source§impl From<TapretKeyError> for DbcPsbtError
impl From<TapretKeyError> for DbcPsbtError
source§fn from(v: TapretKeyError) -> Self
fn from(v: TapretKeyError) -> Self
Converts to this type from the input type.
source§impl From<TaprootBuilderError> for DbcPsbtError
impl From<TaprootBuilderError> for DbcPsbtError
source§fn from(v: TaprootBuilderError) -> Self
fn from(v: TaprootBuilderError) -> Self
Converts to this type from the input type.
source§impl PartialEq for DbcPsbtError
impl PartialEq for DbcPsbtError
source§fn eq(&self, other: &DbcPsbtError) -> bool
fn eq(&self, other: &DbcPsbtError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DbcPsbtError
impl StructuralEq for DbcPsbtError
impl StructuralPartialEq for DbcPsbtError
Auto Trait Implementations§
impl RefUnwindSafe for DbcPsbtError
impl Send for DbcPsbtError
impl Sync for DbcPsbtError
impl Unpin for DbcPsbtError
impl UnwindSafe for DbcPsbtError
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.