pub enum MintingPolicyViolation {
AdditionalMintingNotAllowed,
}
Expand description
Error while checking a minting transaction against the current system state.
Variants§
AdditionalMintingNotAllowed
Trait Implementations§
source§impl Clone for MintingPolicyViolation
impl Clone for MintingPolicyViolation
source§fn clone(&self) -> MintingPolicyViolation
fn clone(&self) -> MintingPolicyViolation
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 MintingPolicyViolation
impl Debug for MintingPolicyViolation
source§impl Display for MintingPolicyViolation
impl Display for MintingPolicyViolation
source§impl Error for MintingPolicyViolation
impl Error for MintingPolicyViolation
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<MintingPolicyViolation> for Error
impl From<MintingPolicyViolation> for Error
source§fn from(source: MintingPolicyViolation) -> Self
fn from(source: MintingPolicyViolation) -> Self
Converts to this type from the input type.
source§impl PartialEq<MintingPolicyViolation> for MintingPolicyViolation
impl PartialEq<MintingPolicyViolation> for MintingPolicyViolation
source§fn eq(&self, other: &MintingPolicyViolation) -> bool
fn eq(&self, other: &MintingPolicyViolation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MintingPolicyViolation
impl StructuralEq for MintingPolicyViolation
impl StructuralPartialEq for MintingPolicyViolation
Auto Trait Implementations§
impl RefUnwindSafe for MintingPolicyViolation
impl Send for MintingPolicyViolation
impl Sync for MintingPolicyViolation
impl Unpin for MintingPolicyViolation
impl UnwindSafe for MintingPolicyViolation
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