fn create_host_memory(
        &self,
        ty: &MemoryType,
        style: &MemoryStyle,
    ) -> Result<Arc<dyn vm::Memory>, MemoryError> {
        let adjusted = self.adjust_memory(ty);
        self.validate_memory(&adjusted)?;
        self.base.create_host_memory(&adjusted, style)
    }
/// Create a memory owned by the host given a [`MemoryType`] and a [`MemoryStyle`].
///
/// The requested memory type is validated, adjusted to the limited and then passed to base.
Create a memory owned by the host given a [`MemoryType`] and a [`MemoryStyle`].
The requested memory type is validated, adjusted to the limited and then passed to base.
Create a memory owned by the host given a [ ` MemoryType ` ] and a [ ` MemoryStyle ` ] . The requested memory type is validated adjusted to the limited and then passed to base .
fn create_host_memory(
        &self,
        ty: &MemoryType,
        style: &MemoryStyle,
    ) -> Result<Arc<dyn vm::Memory>, MemoryError> {
        let adjusted = self.adjust_memory(ty);
        self.validate_memory(&adjusted)?;
        self.base.create_host_memory(&adjusted, style)
    }
fn create_host_memory ( & self , ty : & MemoryType , style : & MemoryStyle , ) -> Result < Arc < dyn vm :: Memory > , MemoryError > { let adjusted = self . adjust_memory ( ty ) ; self . validate_memory ( & adjusted ) ? ; self . base . create_host_memory ( & adjusted , style ) }
Create a memory owned by the host given a [`MemoryType`] and a [`MemoryStyle`].
Create a memory owned by the host given a [ ` MemoryType ` ] and a [ ` MemoryStyle ` ] .
&self
ty
&MemoryType
style
&MemoryStyle
&self
ty
&MemoryType
style
&MemoryStyle