pub enum ChainCheckFailure {
NoGrant,
DesignationNotCovered {
label: String,
value: String,
},
}Expand description
Why the chain check rejected a mint.
Variants§
NoGrant
The ancestor has no grant for the requested target+operation.
DesignationNotCovered
The ancestor has a grant for the requested target+operation, but it carries a static designation that the cap being minted does not include (or carries with a different value). The cap would therefore exceed the ancestor’s envelope on that label.
Trait Implementations§
Source§impl Clone for ChainCheckFailure
impl Clone for ChainCheckFailure
Source§fn clone(&self) -> ChainCheckFailure
fn clone(&self) -> ChainCheckFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChainCheckFailure
impl Debug for ChainCheckFailure
Source§impl Display for ChainCheckFailure
impl Display for ChainCheckFailure
Source§impl Error for ChainCheckFailure
impl Error for ChainCheckFailure
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()
Auto Trait Implementations§
impl Freeze for ChainCheckFailure
impl RefUnwindSafe for ChainCheckFailure
impl Send for ChainCheckFailure
impl Sync for ChainCheckFailure
impl Unpin for ChainCheckFailure
impl UnsafeUnpin for ChainCheckFailure
impl UnwindSafe for ChainCheckFailure
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