pub enum CompletionError {
NoContract,
NoBeneficiaryOutput,
InconclusiveDerivation,
TapretKey(TapretKeyError),
Commit(CommitError),
Stock(String),
}Variants§
NoContract
unspecified contract.
NoBeneficiaryOutput
the provided PSBT doesn’t pay any sats to the RGB beneficiary address.
InconclusiveDerivation
the provided PSBT has conflicting descriptor in the taptweak output.
TapretKey(TapretKeyError)
Commit(CommitError)
Stock(String)
Trait Implementations§
Source§impl Debug for CompletionError
impl Debug for CompletionError
Source§impl Display for CompletionError
impl Display for CompletionError
Source§impl Error for CompletionError
impl Error for CompletionError
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<CommitError> for CompletionError
impl From<CommitError> for CompletionError
Source§fn from(v: CommitError) -> Self
fn from(v: CommitError) -> Self
Converts to this type from the input type.
Source§impl From<CompletionError> for String
impl From<CompletionError> for String
Source§fn from(err: CompletionError) -> Self
fn from(err: CompletionError) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for CompletionError
impl From<Infallible> for CompletionError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl From<StockError<MemStash, MemState, MemIndex, ConsignError>> for CompletionError
impl From<StockError<MemStash, MemState, MemIndex, ConsignError>> for CompletionError
Source§fn from(v: StockErrorMem<ConsignError>) -> Self
fn from(v: StockErrorMem<ConsignError>) -> Self
Converts to this type from the input type.
Source§impl From<StockError<MemStash, MemState, MemIndex, FasciaError>> for CompletionError
impl From<StockError<MemStash, MemState, MemIndex, FasciaError>> for CompletionError
Source§fn from(v: StockErrorMem<FasciaError>) -> Self
fn from(v: StockErrorMem<FasciaError>) -> Self
Converts to this type from the input type.
Source§impl From<String> for CompletionError
impl From<String> for CompletionError
Source§impl From<TapretKeyError> for CompletionError
impl From<TapretKeyError> for CompletionError
Source§fn from(v: TapretKeyError) -> Self
fn from(v: TapretKeyError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CompletionError
impl !RefUnwindSafe for CompletionError
impl Send for CompletionError
impl Sync for CompletionError
impl Unpin for CompletionError
impl !UnwindSafe for CompletionError
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<I> IntoResettable<String> for I
impl<I> IntoResettable<String> for I
Source§fn into_resettable(self) -> Resettable<String>
fn into_resettable(self) -> Resettable<String>
Convert to the intended resettable type