Struct cosmwasm_vm::CacheOptions [−][src]
pub struct CacheOptions {
pub base_dir: PathBuf,
pub supported_features: HashSet<String>,
pub memory_cache_size: Size,
pub instance_memory_limit: Size,
}Fields
base_dir: PathBufsupported_features: HashSet<String>memory_cache_size: Sizeinstance_memory_limit: SizeMemory limit for instances, in bytes. Use a value that is divisible by the Wasm page size 65536, e.g. full MiBs.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CacheOptions
impl Send for CacheOptions
impl Sync for CacheOptions
impl Unpin for CacheOptions
impl UnwindSafe for CacheOptions
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