Enum identity_iota::iota::block::output::StateTransitionError
source · pub enum StateTransitionError {
Show 18 variants
InconsistentCreatedFoundriesCount,
InconsistentFoundrySerialNumber,
InconsistentNativeTokensFoundryCreation,
InconsistentNativeTokensFoundryDestruction,
InconsistentNativeTokensMint,
InconsistentNativeTokensTransition,
InconsistentNativeTokensMeltBurn,
IssuerNotUnlocked,
MissingAliasForFoundry,
MutatedFieldWithoutRights,
MutatedImmutableField,
NonMonotonicallyIncreasingNativeTokens,
NonZeroCreatedId,
NonZeroCreatedFoundryCounter,
NonZeroCreatedStateIndex,
UnsortedCreatedFoundries,
UnsupportedStateIndexOperation {
current_state: u32,
next_state: u32,
},
UnsupportedStateTransition,
}
Expand description
Variants§
InconsistentCreatedFoundriesCount
InconsistentFoundrySerialNumber
InconsistentNativeTokensFoundryCreation
InconsistentNativeTokensFoundryDestruction
InconsistentNativeTokensMint
InconsistentNativeTokensTransition
InconsistentNativeTokensMeltBurn
IssuerNotUnlocked
MissingAliasForFoundry
MutatedFieldWithoutRights
MutatedImmutableField
NonMonotonicallyIncreasingNativeTokens
NonZeroCreatedId
NonZeroCreatedFoundryCounter
NonZeroCreatedStateIndex
UnsortedCreatedFoundries
UnsupportedStateIndexOperation
UnsupportedStateTransition
Trait Implementations§
source§impl Debug for StateTransitionError
impl Debug for StateTransitionError
source§impl PartialEq for StateTransitionError
impl PartialEq for StateTransitionError
source§fn eq(&self, other: &StateTransitionError) -> bool
fn eq(&self, other: &StateTransitionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StateTransitionError
impl StructuralPartialEq for StateTransitionError
Auto Trait Implementations§
impl Freeze for StateTransitionError
impl RefUnwindSafe for StateTransitionError
impl Send for StateTransitionError
impl Sync for StateTransitionError
impl Unpin for StateTransitionError
impl UnwindSafe for StateTransitionError
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<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.