pub trait VmMemoryPool: Sync {
type Memory: Memory + Send + Sync + 'static;
// Required method
fn get_new(&self) -> impl Future<Output = Self::Memory> + Send;
}Expand description
Trait for a VM memory pool.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".