fuchsia_fs::directory

Function open_async

Source
pub fn open_async<P: ProtocolMarker>(
    parent: &DirectoryProxy,
    path: &str,
    flags: Flags,
) -> Result<P::Proxy, OpenError>
Expand description

Opens the given path from the given parent directory as a [P::Proxy]. The target is not verified to be any particular type and may not implement the [P] protocol.