file_to_shared_memory_fd

Function file_to_shared_memory_fd 

Source
pub fn file_to_shared_memory_fd(file: File) -> Result<SharedMemoryFd>
Expand description

Convert a std::fs::File to the platform-appropriate shared memory handle.