Struct shadow_shmem::allocator::SharedMemDeserializer
source · pub struct SharedMemDeserializer<'alloc> { /* private fields */ }
Implementations§
sourcepub unsafe fn deserialize<T>(
&mut self,
serialized: &ShMemBlockSerialized,
) -> ShMemBlockAlias<'alloc, T>where
T: Sync + VirtualAddressSpaceIndependent,
pub unsafe fn deserialize<T>(
&mut self,
serialized: &ShMemBlockSerialized,
) -> ShMemBlockAlias<'alloc, T>where
T: Sync + VirtualAddressSpaceIndependent,
§Safety
This function can violate type safety if a template type is provided that does not match original block that was serialized.
Trait Implementations§
Auto Trait Implementations§
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