/// open_directory will open a NodeProxy at the given path relative to the given directory, and
/// convert it into a DirectoryProxy. This function will not block.
open_directory will open a NodeProxy at the given path relative to the given directory, and
convert it into a DirectoryProxy. This function will not block.
open_directory will open a NodeProxy at the given path relative to the given directory and convert it into a DirectoryProxy . This function will not block .
pub fn open_directory<'a>(
    dir: &'a DirectoryProxy,
    path: &'a PathBuf,
) -> Result<DirectoryProxy, Error> {
    node_to_directory(open_node(dir, path, MODE_TYPE_DIRECTORY)?)
}
pub fn open_directory < ' a > ( dir : & ' a DirectoryProxy , path : & ' a PathBuf , ) -> Result < DirectoryProxy , Error > { node_to_directory ( open_node ( dir , path , MODE_TYPE_DIRECTORY ) ? ) }
open_directory will open a NodeProxy at the given path relative to the given directory, and
convert it into a DirectoryProxy.
open_directory will open a NodeProxy at the given path relative to the given directory and convert it into a DirectoryProxy .
dir
&'a DirectoryProxy
path
&'a PathBuf