pub(crate) trait PlatformSharedMemory {
    // Required methods
    fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory>;
    fn from_safe_descriptor(
        descriptor: SafeDescriptor,
        size: u64
    ) -> Result<SharedMemory>;
}

Required Methods§

source

fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory>

source

fn from_safe_descriptor( descriptor: SafeDescriptor, size: u64 ) -> Result<SharedMemory>

Object Safety§

This trait is not object safe.

Implementors§