fuchsia_fs::directory

Function open_file_async

Source
pub fn open_file_async(
    parent: &DirectoryProxy,
    path: &str,
    flags: Flags,
) -> Result<FileProxy, OpenError>
Expand description

Opens the given path from the given parent directory as a [FileProxy]. If open fails, the returned FileProxy will be closed with an epitaph.