pub struct Shmem { /* fields omitted */ }
Expand description
Structure used to extract information from an existing shared memory mapping
Returns whether we created the mapping or not
Allows for gaining/releasing ownership of the mapping
Warning : You must ensure at least one process owns the mapping in order to ensure proper cleanup code is ran
Returns the OS unique identifier for the mapping
Returns the flink path if present
Returns the total size of the mapping
Returns a raw pointer to the mapping
Returns mapping as a byte slice
This function is unsafe because it is impossible to ensure the range of bytes is immutable
Returns mapping as a mutable byte slice
This function is unsafe because it is impossible to ensure the returned mutable refence is unique/exclusive
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,