pub async fn open_file(
    parent: &DirectoryProxy,
    path: &str,
    flags: OpenFlags
) -> Result<FileProxy, OpenError>
Expand description

Opens the given path from given parent directory as a [FileProxy], verifying that the target implements the fuchsia.io.File protocol.