vfs::directory

Function spawn_directory

Source
pub fn spawn_directory<D: Directory + ?Sized>(dir: Arc<D>) -> DirectoryProxy
Expand description

Serves [dir] and returns a DirectoryProxy to it.