Enum rgbstd::persistence::hoard::ConsumeError
source · pub enum ConsumeError {
Confinement(Error),
Anchor(UnrelatedProof),
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)>
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<MergeError> for ConsumeError
impl From<MergeError> for ConsumeError
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§fn from(v: UnrelatedProof) -> Self
fn from(v: UnrelatedProof) -> Self
Converts to this type from the input type.
source§impl PartialEq<ConsumeError> for ConsumeError
impl PartialEq<ConsumeError> for ConsumeError
source§fn eq(&self, other: &ConsumeError) -> bool
fn eq(&self, other: &ConsumeError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ConsumeError
impl StructuralEq for ConsumeError
impl StructuralPartialEq for ConsumeError
Auto Trait Implementations§
impl RefUnwindSafe for ConsumeError
impl Send for ConsumeError
impl Sync for ConsumeError
impl Unpin for ConsumeError
impl UnwindSafe for ConsumeError
Blanket Implementations§
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.