Lines Matching defs:SharedMemory
47 pub struct SharedMemory { struct
49 fd: File,
50 size: u64,
140 impl SharedMemory { implementation
147 pub fn new(debug_name: &CStr, size: u64) -> Result<SharedMemory> { in new()
169 ) -> Result<SharedMemory> { in from_safe_descriptor()
179 pub fn from_file(mut file: File) -> Result<SharedMemory> { in from_file()
250 impl Read for SharedMemory { implementation
256 impl Read for &SharedMemory { implementation
262 impl Write for SharedMemory { implementation
272 impl Write for &SharedMemory { implementation
282 impl Seek for SharedMemory { implementation
288 impl Seek for &SharedMemory { implementation
294 impl AsRawDescriptor for SharedMemory { implementation
300 impl IntoRawDescriptor for SharedMemory { implementation