fuchsia_fs::directory

Function open_directory

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

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