ShmSegment

Trait ShmSegment 

Source
pub trait ShmSegment:
    Debug
    + Send
    + Sync {
    // Required method
    fn map(&self, chunk: ChunkID) -> ZResult<*mut u8>;
}
Expand description

ShmSegment - RAII interface to interact with particular shared memory segment

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

Required Methods§

Source

fn map(&self, chunk: ChunkID) -> ZResult<*mut u8>

Obtain the actual region of memory identified by it’s id

This API has been marked as unstable: it works as advertised, but it may be changed in a future release.

Implementors§