shadow_shmem::allocator

Function shdeserialize

source
pub unsafe fn shdeserialize<T>(
    serialized: &ShMemBlockSerialized,
) -> ShMemBlockAlias<'static, T>
Expand description

This function takes a serialized block and converts it back into a BlockAlias that can be dereferenced.

ยงSafety

This function can violate type safety if a template type is provided that does not match original block that was serialized.