pub trait SharedMemoryObject:
MemoryMappingOps
+ Send
+ Sync {
// Required methods
fn size(&self) -> usize;
fn resize(&self, new_size: usize) -> Result<(), &'static str>;
fn id(&self) -> String;
fn is_valid(&self) -> bool;
}Expand description
Shared memory operations
This trait extends the base functionality for shared memory objects.