Enum wasmer_vm::GlobalError [−][src]
pub enum GlobalError {
ImmutableGlobalCannotBeSet,
IncorrectType {
expected: Type,
found: Type,
},
}Expand description
Error type describing things that can go wrong when operating on Wasm Globals.
Variants
The error returned when attempting to set an immutable global.
The error returned when attempting to operate on a global as a specific type that differs from the global’s own type.
Show fields
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for GlobalErrorimpl Send for GlobalErrorimpl Sync for GlobalErrorimpl Unpin for GlobalErrorimpl UnwindSafe for GlobalErrorBlanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more