fuchsia_fs::directory

Function open_node

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

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