io_conformance_util

Function create_file_and_get_backing_memory

Source
pub async fn create_file_and_get_backing_memory(
    dir_entry: DirectoryEntry,
    test_harness: &TestHarness,
    file_flags: Flags,
    vmo_flags: VmoFlags,
) -> Result<(Vmo, (DirectoryProxy, FileProxy)), Status>
Expand description

Creates a directory with the given DirectoryEntry, opening the file with the given file flags, and returning a Buffer object initialized with the given vmo_flags.