pub fn open_file_for_block( path: &Path, read_only: bool, direct: bool, ) -> Result<File>
Opens a file for use with BlockDevice or [disk_backend_resources::BlockDeviceDiskHandle].
BlockDevice
disk_backend_resources::BlockDeviceDiskHandle