Function package_directory::serve

source ·
pub fn serve(
    scope: ExecutionScope,
    non_meta_storage: impl NonMetaStorage,
    meta_far: Hash,
    flags: OpenFlags,
    server_end: ServerEnd<DirectoryMarker>
) -> impl Future<Output = Result<(), Error>>
Expand description

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.