Enum cosmwasm_vm::RegionValidationError [−][src]
#[non_exhaustive]
pub enum RegionValidationError {
LengthExceedsCapacity {
length: u32,
capacity: u32,
},
OutOfRange {
offset: u32,
capacity: u32,
},
ZeroOffset {},
}Expand description
An error validating a Region
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Fields of ZeroOffset
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for RegionValidationError
impl Send for RegionValidationError
impl Sync for RegionValidationError
impl Unpin for RegionValidationError
impl UnwindSafe for RegionValidationError
Blanket 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>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more