Structs§

  • An execution scope that is hosting tasks for a group of connections. See the module level documentation for details.
  • The root directory of Fuchsia package.
  • RootDirCache is a cache of Arc<RootDir>s indexed by their hash. The cache internally stores Weak<RootDir>s and installs a custom dropper in its managed RootDirs that removes the corresponding entry when dropped, so it is a cache of Arc<RootDir>s that are actively in use by its clients. This is useful for deduplicating the Arc<RootDir>s used by VFS to serve package directory connections while also keeping track of which connections are open.

Enums§

Traits§

  • The storage that provides the non-meta files (accessed by hash) of a package-directory (e.g. blobfs).
  • RootDir takes an optional OnRootDirDrop value that will be dropped when the RootDir is dropped.

Functions§

  • Serves a package directory for the package with hash meta_far on server_end. The connection rights are set by flags, used the same as the flags parameter of fuchsia.io/Directory.Open.
  • Serves a sub-path of a package directory for the package with hash meta_far on server_end. The connection rights are set by flags, used the same as the flags parameter of fuchsia.io/Directory.Open. On error while loading the package metadata, closes the provided server end, sending an OnOpen response with an error status if requested.