Function syncio::source ·
pub fn directory_open_directory_async( directory: &DirectorySynchronousProxy, path: &str, flags: OpenFlags ) -> Result<DirectorySynchronousProxy, Status>
Open a directory at the given path in the given directory without blocking.
This function adds the OPEN_FLAG_DIRECTORY flag to ensure that the open operation completes only if the given path is actually a directory, which means clients can start using the returned DirectorySynchronousProxy immediately without waiting for the server to complete the operation.
This function will “succeed” even if the given path does not exist in the given directory or if the path is not a directory because this function does not wait for the directory to confirm that the path exists and is a directory.