Crate package_directory

Source

Structs§

ExecutionScope
An execution scope that is hosting tasks for a group of connections. See the module level documentation for details.
RootDir
The root directory of Fuchsia package.
RootDirCache
RootDirCache is a cache of Arc<RootDir>s indexed by their hash.

Enums§

Error
NonMetaStorageError
PathError
ReadFileError
SubpackagesError

Traits§

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

Functions§

serve
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.
serve_path
Serves a sub-path of a package directory for the package with hash meta_far on server_end.