pub struct SharedMemRaw { /* private fields */ }
Expand description

Raw shared memory mapping

This feature is only useful when dealing with memory mappings not managed by this crate. When all processes involed use the shared_memory crate, it is highly recommended to avoid SharedMemRaw and use the much safer/full-featured SharedMem.

Implementations§

Creates a raw mapping

Opens a raw mapping

Returns the size of the raw mapping

Returns the OS specific path of the raw mapping

Returns a void pointer to the first address of the mapping

Trait Implementations§

Returns a read only reference to D casted onto the shared memory

Returns a read only reference to a slice of D casted onto the shared memory

Returns a mutable reference to D casted onto the shared memory

Returns a mutable reference to a slice of D casted onto the shared memory

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.

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.