Namespaces

Enumerations

enum class GcProtection : uint32_t
Name Value Comments
kOpenPackageTracking 1u

Package will be protected from GC as long as there is an open connection to the directory.

kRetained 2u

Package will be protected from GC as long as it is in the Retained index, which is
controlled by the [`RetainedPackages`] protocol. Client is responsible for ensuring
the package is in the Retained index.

How the package served by [`PackageCache.Get`] should be protected from GC.

Defined at line 20 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class GetSubpackageError : uint32_t
Name Value Comments
kSuperpackageClosed 1u

The superpackage was not open.

kDoesNotExist 2u

The requested subpackage does not exist.

kInternal 3u

An unspecified error occurred.

Error type for [`PackageCache.GetSubpackage`].

Defined at line 48 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class OpenBlobError : uint32_t
Name Value Comments
kOutOfSpace 1u

There is insufficient storage space available to persist this blob.

kConcurrentWrite 2u

This blob is already open for write by another cache operation.

kUnspecifiedIo 3u

An unspecified error occurred during underlying I/O.

kInternal 4u

An unspecified error occurred.

Error type for [`NeededBlobs.OpenMetaBlob`] and [`NeededBlobs.OpenBlob`].

Defined at line 152 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class BlobWrittenError : uint32_t
Name Value Comments
kNotWritten 1u

Client called BlobWritten but blob was not readable in blobfs.

kUnopenedBlob 2u

Client called BlobWritten for a blob it has not yet opened.

Error type for [`NeededBlobs.BlobWritten`].

Defined at line 184 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class WriteError : uint32_t
Name Value Comments
kUnknownUrl 1u

The URL is not a known eager package.

kVerification 2u

The CUP data associated with the eager package failed verification.

kDownload 3u

Downloading the eager package failed.

kStorage 4u

Writing the CUP data to storage failed.

Defined at line 209 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class GetInfoError : uint32_t
Name Value Comments
kUnknownUrl 1u

The URL is not a known eager package.

kVerification 2u

The CUP data associated with the eager package failed verification.

kNotAvailable 3u

The URL is a known eager package, but there are no packages available.

Defined at line 240 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class RepositoryStorageType : uint32_t
Name Value Comments
kEphemeral 1u

Ephemeral, or in-memory storage. This repository metadata will be lost
when the process or device is restarted. The default type.

kPersistent 2u

Persistent, where the repository metadata is written to mutable storage
and is available after a reboot.

Where the repository storage is written to.

Defined at line 269 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

enum class ResolveError : int32_t
Name Value Comments
kInternal 1u

The resolver encountered an otherwise unspecified error while handling the request.

kAccessDenied 2u

The resolver does not have permission to fetch a package blob.

kIo 3u

Some unspecified error during I/O.

kBlobNotFound 4u

The package blob does not exist.

kPackageNotFound 5u

The package does not exist.

kRepoNotFound 6u

The resolver does not know about the repo.

kNoSpace 7u

There is no space available to store the package or metadata.

kUnavailableBlob 8u

The resolver is currently unable to fetch a package blob.

kUnavailableRepoMetadata 9u

The resolver is currently unable to fetch a repository's metadata.

kInvalidUrl 10u

The `package_url` provided to resolver is invalid.

kInvalidContext 11u

The `context` provided to resolver is invalid.

Error codes for PackageResolver operations.

Defined at line 297 of file fidling/gen/sdk/fidl/fuchsia.pkg/fuchsia.pkg/cpp/fidl/fuchsia.pkg/cpp/common_types.h

Records