pub enum GeneratorErrorKind {
Show 26 variants
InvalidAstType {
expected_value_kind: ValueKind,
actual: ValueKind,
},
InvalidAstValue {
expected_value_kinds: Vec<ValueKind>,
actual: Value,
},
UnexpectedValueKind {
expected_value_kind: ValueKind,
actual_value: Value,
},
InvalidPackageAddress(String),
InvalidResourceAddress(String),
InvalidDecimal {
actual: String,
err: String,
},
InvalidPreciseDecimal {
actual: String,
err: String,
},
InvalidNonFungibleLocalId(String),
InvalidNonFungibleGlobalId,
InvalidExpression(String),
InvalidBlobHash {
actual: String,
err: String,
},
BlobNotFound(String),
InvalidBytesHex(String),
NameResolverError(NameResolverError),
IdValidationError {
err: ManifestIdValidationError,
name: Option<String>,
},
InvalidGlobalAddress(String),
InvalidInternalAddress(String),
InvalidSubTransactionId(String),
InstructionNotSupportedInManifestVersion,
ManifestBuildError(ManifestBuildError),
HeaderInstructionMustComeFirst,
IntentCannotBeUsedInValue,
IntentCannotBeUsedAsValueKind,
NamedIntentCannotBeUsedInValue,
NamedIntentCannotBeUsedAsValueKind,
ArgumentCouldNotBeReadAsExpectedType {
type_name: String,
error_message: String,
},
}Variants§
InvalidAstType
InvalidAstValue
UnexpectedValueKind
InvalidPackageAddress(String)
InvalidResourceAddress(String)
InvalidDecimal
InvalidPreciseDecimal
InvalidNonFungibleLocalId(String)
InvalidNonFungibleGlobalId
InvalidExpression(String)
InvalidBlobHash
BlobNotFound(String)
InvalidBytesHex(String)
NameResolverError(NameResolverError)
IdValidationError
InvalidGlobalAddress(String)
InvalidInternalAddress(String)
InvalidSubTransactionId(String)
InstructionNotSupportedInManifestVersion
ManifestBuildError(ManifestBuildError)
HeaderInstructionMustComeFirst
IntentCannotBeUsedInValue
IntentCannotBeUsedAsValueKind
NamedIntentCannotBeUsedInValue
NamedIntentCannotBeUsedAsValueKind
ArgumentCouldNotBeReadAsExpectedType
Trait Implementations§
Source§impl Clone for GeneratorErrorKind
impl Clone for GeneratorErrorKind
Source§fn clone(&self) -> GeneratorErrorKind
fn clone(&self) -> GeneratorErrorKind
Returns a duplicate 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 GeneratorErrorKind
impl Debug for GeneratorErrorKind
Source§impl PartialEq for GeneratorErrorKind
impl PartialEq for GeneratorErrorKind
impl Eq for GeneratorErrorKind
impl StructuralPartialEq for GeneratorErrorKind
Auto Trait Implementations§
impl Freeze for GeneratorErrorKind
impl RefUnwindSafe for GeneratorErrorKind
impl Send for GeneratorErrorKind
impl Sync for GeneratorErrorKind
impl Unpin for GeneratorErrorKind
impl UnwindSafe for GeneratorErrorKind
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<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
impl<T, U> ContextualTryInto<U> for Twhere
U: ContextualTryFrom<T>,
type Error = <U as ContextualTryFrom<T>>::Error
type Context = <U as ContextualTryFrom<T>>::Context
fn contextual_try_into( self, context: &<U as ContextualTryFrom<T>>::Context, ) -> Result<U, <U as ContextualTryFrom<T>>::Error>
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.