pub struct MemoryRegistryOps;Expand description
MemoryRegistryOps Ops wrapper around the global memory registry.
Implementations§
Source§impl MemoryRegistryOps
impl MemoryRegistryOps
Sourcepub fn init_memory(
initial_range: Option<(&str, u8, u8)>,
) -> Result<MemoryRegistrySummary, MemoryRegistryError>
pub fn init_memory( initial_range: Option<(&str, u8, u8)>, ) -> Result<MemoryRegistrySummary, MemoryRegistryError>
Initialise registered memory segments and ranges.
- Optionally reserves an initial range for the current crate.
- Applies all deferred range reservations.
- Applies all deferred registrations (sorted by ID).