pub struct ShMemBlockAlias<'deserializer, T>where
T: Sync + VirtualAddressSpaceIndependent,{ /* private fields */ }
Expand description
This struct is analogous to the ShMemBlock
smart pointer, except it does not assume ownership
of the underlying memory and thus does not free the memory when dropped.
An alias of a block is obtained with a call to deserialize()
on a SharedMemDeserializer
object (or likely by using the shdeserialize()
to make this call on the global shared memory
deserializer.
Trait Implementations§
source§impl<'deserializer, T> Debug for ShMemBlockAlias<'deserializer, T>
impl<'deserializer, T> Debug for ShMemBlockAlias<'deserializer, T>
source§impl<'deserializer, T> Deref for ShMemBlockAlias<'deserializer, T>where
T: Sync + VirtualAddressSpaceIndependent,
impl<'deserializer, T> Deref for ShMemBlockAlias<'deserializer, T>where
T: Sync + VirtualAddressSpaceIndependent,
impl<'deserializer, T> Send for ShMemBlockAlias<'deserializer, T>
impl<'deserializer, T> Sync for ShMemBlockAlias<'deserializer, T>where
T: Sync + VirtualAddressSpaceIndependent,
Auto Trait Implementations§
impl<'deserializer, T> Freeze for ShMemBlockAlias<'deserializer, T>
impl<'deserializer, T> RefUnwindSafe for ShMemBlockAlias<'deserializer, T>where
T: RefUnwindSafe,
impl<'deserializer, T> Unpin for ShMemBlockAlias<'deserializer, T>
impl<'deserializer, T> UnwindSafe for ShMemBlockAlias<'deserializer, T>where
T: RefUnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more