Skip to main content

register_static_memory_manager_declaration

Function register_static_memory_manager_declaration 

Source
pub fn register_static_memory_manager_declaration(
    id: u8,
    declaring_crate: impl Into<String>,
    label: impl Into<String>,
    stable_key: impl AsRef<str>,
) -> Result<(), StaticMemoryDeclarationError>
Expand description

Register one MemoryManager declaration before bootstrap seals the snapshot.