Lines Matching defs:SharedMemory
21 pub struct SharedMemory { struct
23 fd: File,
24 size: u64,
102 impl SharedMemory { implementation
108 pub fn named<T: Into<Vec<u8>>>(name: T) -> Result<SharedMemory> { in named()
125 pub fn new(name: Option<&CStr>) -> Result<SharedMemory> { in new()
145 pub fn from_file(mut file: File) -> Result<SharedMemory> { in from_file()
216 impl Read for SharedMemory { implementation
222 impl Read for &SharedMemory { implementation
228 impl Write for SharedMemory { implementation
238 impl Write for &SharedMemory { implementation
248 impl Seek for SharedMemory { implementation
254 impl Seek for &SharedMemory { implementation
260 impl AsRawFd for SharedMemory { implementation
266 impl AsRawFd for &SharedMemory { implementation
272 impl IntoRawFd for SharedMemory { implementation