pub enum ConsumeError {
Confinement(Error),
Anchor(InvalidProof),
Merge(MergeError),
MergeReveal(MergeRevealError),
}
Variants§
Trait Implementations§
Source§impl Clone for ConsumeError
impl Clone for ConsumeError
Source§fn clone(&self) -> ConsumeError
fn clone(&self) -> ConsumeError
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 ConsumeError
impl Debug for ConsumeError
Source§impl Display for ConsumeError
impl Display for ConsumeError
Source§impl Error for ConsumeError
impl Error for ConsumeError
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<E: Error> From<ConsumeError> for InventoryError<E>
impl<E: Error> From<ConsumeError> for InventoryError<E>
Source§fn from(v: ConsumeError) -> Self
fn from(v: ConsumeError) -> Self
Converts to this type from the input type.
Source§impl From<ConsumeError> for String
impl From<ConsumeError> for String
Source§fn from(err: ConsumeError) -> Self
fn from(err: ConsumeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ConsumeError
impl From<Error> for ConsumeError
Source§impl From<InvalidProof> for ConsumeError
impl From<InvalidProof> for ConsumeError
Source§fn from(v: InvalidProof) -> Self
fn from(v: InvalidProof) -> Self
Converts to this type from the input type.
Source§impl From<MergeError> for ConsumeError
impl From<MergeError> for ConsumeError
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 PartialEq for ConsumeError
impl PartialEq for ConsumeError
impl Eq for ConsumeError
impl StructuralPartialEq for ConsumeError
Auto Trait Implementations§
impl Freeze for ConsumeError
impl RefUnwindSafe for ConsumeError
impl Send for ConsumeError
impl Sync for ConsumeError
impl Unpin for ConsumeError
impl UnwindSafe for ConsumeError
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.