ipmb 0.8.5

Inter-process message bus
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    let mut registry = ipmb::MemoryRegistry::default();

    let region = registry.alloc_with_free(0, None, || {
        println!("free");
    });

    drop(region);

    let _region = registry.alloc(0, None).unwrap();
}