pub struct RcShMem<T: ShMemProvider> { /* private fields */ }
Expand description

A Reference Counted shared map, that can use internal mutability. Useful if the ShMemProvider needs to keep local state.

Trait Implementations

Convert to a slice

Convert to a slice

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Executes the destructor for this type. Read more

Get the id of this shared memory mapping

Get the size of this mapping

Check if the mapping is empty

Convert to an owned object reference Read more

Convert to an owned object mutable reference Read more

Get the description of the shared memory mapping

Write this map’s config to env

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 Resulting TupleList, of an Prepend::prepend() call, including the prepended entry. Read more

Prepend a value to this tuple, returning a new tuple with prepended value.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. 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.