pub fn serve_directory(
dir: Arc<impl DirectoryEntry + ?Sized>,
scope: &ExecutionScope,
flags: OpenFlags,
) -> Result<ClientEnd<DirectoryMarker>, Status>
Expand description
Serves a directory with the given rights. Returns a client end. This takes a DirectoryEntry so that it works for remotes.