Struct shared_memory::SharedMem[][src]

pub struct SharedMem<'a> { /* fields omitted */ }

Default shared mapping structure

Methods

impl<'a> SharedMem<'a>
[src]

Creates a memory mapping with no link file of specified size controlled by a single lock.

Returns the size of the SharedMem

Returns the link_path of the SharedMem

Returns the OS specific path of the shared memory object

Usualy on Linux, this will point to a file under /dev/shm/

On Windows, this returns a namespace

Trait Implementations

impl<'a> Drop for SharedMem<'a>
[src]

Deletes the SharedMemConf artifacts

impl<'a> Display for SharedMem<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> ReadLockable for SharedMem<'a>
[src]

Returns a read lock to the shared memory Read more

Returns a read lock to the shared memory as a slice Read more

impl<'a> WriteLockable for SharedMem<'a>
[src]

Returns a read/write lock to the shared memory Read more

Returns a read/write access to a &mut [T] on the shared memory Read more

impl<'a> ReadRaw for SharedMem<'a>
[src]

impl<'a> WriteRaw for SharedMem<'a>
[src]

impl<'a> EventSet for SharedMem<'a>
[src]

Set an event to a specific state Read more

impl<'a> EventWait for SharedMem<'a>
[src]

Wait for an event to become signaled or until timeout is reached Read more

Auto Trait Implementations

impl<'a> !Send for SharedMem<'a>

impl<'a> !Sync for SharedMem<'a>