pub fn remote_dir(dir: DirectoryProxy) -> Arc<Remote> {
    remote_boxed_with_type(
        Box::new(move |_scope, flags, mode, path, server_end| {
            if path.is_empty() {
                let _ = dir.open(flags, mode, ".", server_end);
            } else {
                let _ = dir.open(flags, mode, &path.into_string(), server_end);
            }
        }),
        DIRENT_TYPE_DIRECTORY,
    )
}
/// Create a new [`Remote`] node that forwards open requests to the provided [`DirectoryProxy`],
/// effectively handing off the handling of any further requests to the remote fidl server.
Create a new [`Remote`] node that forwards open requests to the provided [`DirectoryProxy`],
effectively handing off the handling of any further requests to the remote fidl server.
Create a new [ ` Remote ` ] node that forwards open requests to the provided [ ` DirectoryProxy ` ] effectively handing off the handling of any further requests to the remote fidl server .
pub fn remote_dir(dir: DirectoryProxy) -> Arc<Remote> {
    remote_boxed_with_type(
        Box::new(move |_scope, flags, mode, path, server_end| {
            if path.is_empty() {
                let _ = dir.open(flags, mode, ".", server_end);
            } else {
                let _ = dir.open(flags, mode, &path.into_string(), server_end);
            }
        }),
        DIRENT_TYPE_DIRECTORY,
    )
}
pub fn remote_dir ( dir : DirectoryProxy ) -> Arc < Remote > { remote_boxed_with_type ( Box :: new ( move | _scope , flags , mode , path , server_end | { if path . is_empty ( ) { let _ = dir . open ( flags , mode , " " , server_end ) ; } else { let _ = dir . open ( flags , mode , & path . into_string ( ) , server_end ) ; } } ) , DIRENT_TYPE_DIRECTORY , ) }
Create a new [`Remote`] node that forwards open requests to the provided [`DirectoryProxy`],
effectively handing off the handling of any further requests to the remote fidl server.
Create a new [ ` Remote ` ] node that forwards open requests to the provided [ ` DirectoryProxy ` ] effectively handing off the handling of any further requests to the remote fidl server .
dir
DirectoryProxy
dir
DirectoryProxy