Function shadow_shmem::allocator::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.