Expand description
Description of a shared map. May be used to restore the map by id.
Fields
size: usize
Size of this map
id: ShMemId
Id of this map
Implementations
sourceimpl ShMemDescription
impl ShMemDescription
sourcepub fn from_string_and_size(id_str: &str, size: usize) -> Self
pub fn from_string_and_size(id_str: &str, size: usize) -> Self
Create a description from a id_str
and a size
.
Trait Implementations
sourceimpl Clone for ShMemDescription
impl Clone for ShMemDescription
sourcefn clone(&self) -> ShMemDescription
fn clone(&self) -> ShMemDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShMemDescription
impl Debug for ShMemDescription
sourceimpl<'de> Deserialize<'de> for ShMemDescription
impl<'de> Deserialize<'de> for ShMemDescription
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ShMemDescription
impl Serialize for ShMemDescription
impl Copy for ShMemDescription
Auto Trait Implementations
impl RefUnwindSafe for ShMemDescription
impl Send for ShMemDescription
impl Sync for ShMemDescription
impl Unpin for ShMemDescription
impl UnwindSafe for ShMemDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Tail, T> Prepend<T> for Tail
impl<Tail, T> Prepend<T> for Tail
type PreprendResult = Tail
type PreprendResult = Tail
The Resulting TupleList
, of an Prepend::prepend()
call,
including the prepended entry. Read more
sourcefn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
fn prepend(self, value: T) -> (T, <Tail as Prepend<T>>::PreprendResult)
Prepend a value to this tuple, returning a new tuple with prepended value.