pub enum DbcPsbtError {
NoHostOutput,
NoProperOutput(Method),
AlreadyPresent,
TxOutputsModifiable,
Mpc(MpcPsbtError),
Tapret(TapretKeyError),
Opret(OpretKeyError),
}
Variants§
NoHostOutput
the first output valid for a DBC commitment is not marked as a commitment host.
NoProperOutput(Method)
the transactions contains no output valid for {0} DBC commitment.
AlreadyPresent
DBC commitment is already present.
TxOutputsModifiable
transaction outputs are marked as modifiable, thus deterministic bitcoin commitment can’t be created.
Mpc(MpcPsbtError)
Tapret(TapretKeyError)
Opret(OpretKeyError)
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)>
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<DbcPsbtError> for CommitError
impl From<DbcPsbtError> for CommitError
Source§fn from(v: DbcPsbtError) -> Self
fn from(v: DbcPsbtError) -> Self
Converts to this type from the input type.
Source§impl From<MpcPsbtError> for DbcPsbtError
impl From<MpcPsbtError> for DbcPsbtError
Source§fn from(v: MpcPsbtError) -> DbcPsbtError
fn from(v: MpcPsbtError) -> DbcPsbtError
Converts to this type from the input type.
Source§impl From<OpretKeyError> for DbcPsbtError
impl From<OpretKeyError> for DbcPsbtError
Source§fn from(v: OpretKeyError) -> DbcPsbtError
fn from(v: OpretKeyError) -> DbcPsbtError
Converts to this type from the input type.
Source§impl From<TapretKeyError> for DbcPsbtError
impl From<TapretKeyError> for DbcPsbtError
Source§fn from(v: TapretKeyError) -> DbcPsbtError
fn from(v: TapretKeyError) -> DbcPsbtError
Converts to this type from the input type.
Source§impl PartialEq for DbcPsbtError
impl PartialEq for DbcPsbtError
impl Eq for DbcPsbtError
impl StructuralPartialEq for DbcPsbtError
Auto Trait Implementations§
impl Freeze for DbcPsbtError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.