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)>
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<MergeError> for MergeRevealError
impl From<MergeError> for MergeRevealError
Source§fn from(v: MergeError) -> Self
fn from(v: MergeError) -> Self
Converts to this type from the input type.
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 for MergeRevealError
impl PartialEq for MergeRevealError
impl Copy for MergeRevealError
impl Eq for MergeRevealError
impl StructuralPartialEq for MergeRevealError
Auto Trait Implementations§
impl Freeze for MergeRevealError
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<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.