Enum rgbstd::accessors::MergeRevealError
source · pub enum MergeRevealError {
OperationMismatch(OpId, OpId),
AnchorMismatch(MergeError),
}Variants§
OperationMismatch(OpId, OpId)
operations {0} and {1} has different commitment ids and can’t be merge-revealed. This usually means internal application business logic error which should be reported to the software vendor.
AnchorMismatch(MergeError)
Trait Implementations§
source§impl Clone for MergeRevealError
impl Clone for MergeRevealError
source§fn clone(&self) -> MergeRevealError
fn clone(&self) -> MergeRevealError
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 MergeRevealError
impl Debug for MergeRevealError
source§impl Display for MergeRevealError
impl Display for MergeRevealError
source§impl Error for MergeRevealError
impl Error for MergeRevealError
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<MergeError> for MergeRevealError
impl From<MergeError> for MergeRevealError
source§impl From<MergeRevealError> for ConsumeError
impl From<MergeRevealError> for ConsumeError
source§fn from(v: MergeRevealError) -> Self
fn from(v: MergeRevealError) -> Self
Converts to this type from the input type.
source§impl<E: Error> From<MergeRevealError> for InventoryDataError<E>
impl<E: Error> From<MergeRevealError> for InventoryDataError<E>
source§fn from(v: MergeRevealError) -> Self
fn from(v: MergeRevealError) -> Self
Converts to this type from the input type.
source§impl From<MergeRevealError> for String
impl From<MergeRevealError> for String
source§fn from(err: MergeRevealError) -> Self
fn from(err: MergeRevealError) -> Self
Converts to this type from the input type.
source§impl PartialEq<MergeRevealError> for MergeRevealError
impl PartialEq<MergeRevealError> for MergeRevealError
source§fn eq(&self, other: &MergeRevealError) -> bool
fn eq(&self, other: &MergeRevealError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for MergeRevealError
impl Eq for MergeRevealError
impl StructuralEq for MergeRevealError
impl StructuralPartialEq for MergeRevealError
Auto Trait Implementations§
impl RefUnwindSafe for MergeRevealError
impl Send for MergeRevealError
impl Sync for MergeRevealError
impl Unpin for MergeRevealError
impl UnwindSafe for MergeRevealError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.