Module cache

Source
Expand description

Wrapper types for fidl_fuchsia_pkg::PackageCacheProxy and its related protocols.

Structs§

Blob
A blob in the process of being written.
BlobCloser
A handle to a blob that must be explicitly closed to prevent future opens of the same blob from racing with this blob closing.
Client
An open connection to a provider of the fuchsia.pkg.PackageCache.
DeferredOpenBlob
A deferred call to Get::open_meta_blob or Get::open_blob.
Get
A pending fuchsia.pkg/PackageCache.Get() request. Clients must, in order:
NeededBlob
A blob that needs to be written.
NeedsBlobWritten
State for a blob that has been fully written but that needs a fuchsia.pkg.NeededBlobs.BlobWritten message sent to pkg-cache.
NeedsData
State for a blob that can be written to.
NeedsTruncate
State for a blob that can be truncated.

Enums§

BlobWriteSuccess
The successful result of writing some data to a blob.
BlobWrittenError
An error encountered while sending the BlobWritten message.
GetAlreadyCachedError
GetError
An error encountered while caching a package.
GetSubpackageError
ListMissingBlobsError
An error encountered while enumerating missing content blobs.
OpenBlobError
An error encountered while opening a metadata or content blob for write.
OpenError
An error encountered while opening a package.
TruncateBlobError
An error encountered while truncating a blob
TruncateBlobSuccess
The successful result of truncating a blob.
WriteBlobError
An error encountered while writing a blob.