Skip to main content

open_file_for_block

Function open_file_for_block 

Source
pub fn open_file_for_block(
    path: &Path,
    read_only: bool,
    direct: bool,
) -> Result<File>
Expand description

Opens a file for use with BlockDevice or [disk_backend_resources::BlockDeviceDiskHandle].