Struct shared_memory::ShmemConf [−][src]
pub struct ShmemConf { /* fields omitted */ }Expand description
Struct used to configure different parameters before creating a shared memory mapping
Implementations
Provide a specific os identifier for the mapping
When not specified, a randomly generated identifier will be used
Overwrites file links if it already exist when calling create()
Create the shared memory mapping with a file link
This creates a file on disk that contains the unique os_id for the mapping. This can be useful when application want to rely on filesystems to share mappings
Sets the size of the mapping that will be used in create()
Create a new mapping using the current configuration
Opens an existing mapping using the current configuration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShmemConf
impl UnwindSafe for ShmemConf
Blanket Implementations
Mutably borrows from an owned value. Read more