macro_rules! memory_bootstrap_admission {
(identity = $identity:expr, prepare = $prepare:path $(,)?) => { ... };
}Expand description
Register the artifact’s composed memory admission before Canic bootstrap.
Supply a semantic ic_memory::PolicyIdentity and a synchronous callback taking
&mut ic_memory::BootstrapAdmission and returning Result<(), E> where E
implements Error + Send + Sync + 'static. Register once per artifact, not per
database. Grant consumer ranges separately with ic_memory_range!.