pub enum MpcPsbtError {
InvalidKeyValue,
MessageMapTooLarge(Error),
KeyAlreadyPresent,
OutputAlreadyHasCommitment,
Mpc(Error),
Finalized,
}
Expand description
Errors processing MPC-related proprietary PSBT keys and their values.
Variants§
InvalidKeyValue
the key contains invalid value.
MessageMapTooLarge(Error)
message map produced from PSBT inputs exceeds maximum size bounds.
KeyAlreadyPresent
OutputAlreadyHasCommitment
output already contains commitment; there must be a single commitment per output.
Mpc(Error)
Finalized
multi-protocol commitment is already finalized.
Trait Implementations§
Source§impl Clone for MpcPsbtError
impl Clone for MpcPsbtError
Source§fn clone(&self) -> MpcPsbtError
fn clone(&self) -> MpcPsbtError
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 MpcPsbtError
impl Debug for MpcPsbtError
Source§impl Display for MpcPsbtError
impl Display for MpcPsbtError
Source§impl Error for MpcPsbtError
impl Error for MpcPsbtError
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<Error> for MpcPsbtError
impl From<Error> for MpcPsbtError
Source§fn from(v: Error) -> MpcPsbtError
fn from(v: Error) -> MpcPsbtError
Converts to this type from the input type.
Source§impl From<Error> for MpcPsbtError
impl From<Error> for MpcPsbtError
Source§fn from(v: Error) -> MpcPsbtError
fn from(v: Error) -> MpcPsbtError
Converts to this type from the input type.
Source§impl From<FromSliceError> for MpcPsbtError
impl From<FromSliceError> for MpcPsbtError
Source§fn from(v: FromSliceError) -> MpcPsbtError
fn from(v: FromSliceError) -> MpcPsbtError
Converts to this type from the input type.
Source§impl From<KeyAlreadyPresent> for MpcPsbtError
impl From<KeyAlreadyPresent> for MpcPsbtError
Source§fn from(v: KeyAlreadyPresent) -> MpcPsbtError
fn from(v: KeyAlreadyPresent) -> MpcPsbtError
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<MpcPsbtError> for RgbPsbtError
impl From<MpcPsbtError> for RgbPsbtError
Source§fn from(v: MpcPsbtError) -> Self
fn from(v: MpcPsbtError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MpcPsbtError
impl PartialEq for MpcPsbtError
impl Copy for MpcPsbtError
impl Eq for MpcPsbtError
impl StructuralPartialEq for MpcPsbtError
Auto Trait Implementations§
impl Freeze for MpcPsbtError
impl RefUnwindSafe for MpcPsbtError
impl Send for MpcPsbtError
impl Sync for MpcPsbtError
impl Unpin for MpcPsbtError
impl UnwindSafe for MpcPsbtError
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.