pub fn serve(
scope: ExecutionScope,
non_meta_storage: impl NonMetaStorage,
meta_far: Hash,
flags: Flags,
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.