Trait base::shm::PlatformSharedMemory
source · 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§
fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory>
fn from_safe_descriptor( descriptor: SafeDescriptor, size: u64 ) -> Result<SharedMemory>
Object Safety§
This trait is not object safe.