pub struct SharedMem<'a> { /* private fields */ }
Expand description

Default shared mapping structure

Implementations§

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§

Formats the value using the given formatter. Read more

Deletes the SharedMemConf artifacts

Set an event to a specific state Read more
Wait for an event to become signaled or until timeout is reached Read more
Returns a read lock to the shared memory Read more
Returns a read lock to the shared memory as a slice Read more
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

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.