Crate fidl_fuchsia_pkg_common

Source

Macros§

RepositoryKeyConfigUnknown
Pattern that matches an unknown RepositoryKeyConfig member.
SetUpgradableUrlsErrorUnknown
Pattern that matches an unknown SetUpgradableUrlsError member.

Structs§

BlobId
A content-addressed merkle root that describes an artifact that is tracked by the packaging system.
BlobIdIteratorNextResponse
BlobInfo
A tuple of the content-addressed merkle root for an artifact, along with that artifact’s length in bytes.
BlobInfoIteratorNextResponse
CupData
CupGetInfoRequest
CupGetInfoResponse
CupWriteRequest
MirrorConfig
The configuration necessary to connect to a mirror.
NeededBlobsBlobWrittenRequest
NeededBlobsOpenBlobRequest
PackageCacheSetUpgradableUrlsRequest
PackageIndexEntry
A single entry in the package index.
PackageIndexIteratorNextResponse
PackageResolverGetHashRequest
PackageResolverGetHashResponse
PackageResolverResolveResponse
PackageResolverResolveWithContextResponse
PackageUrl
A fuchsia-pkg:// URL indicating a package. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url#package_identity
RepositoryConfig
The configuration necessary to connect to a repository and its mirrors.
RepositoryIteratorNextResponse
RepositoryManagerAddMirrorRequest
RepositoryManagerAddRequest
RepositoryManagerRemoveMirrorRequest
RepositoryManagerRemoveRequest
RepositoryUrl
A fuchsia-pkg:// URL indicating a repository. https://fuchsia.dev/fuchsia-src/concepts/packages/package_url#repository_identity
ResolutionContext
A package resolution context, used when resolving package URLs relative to another package.

Enums§

BlobWrittenError
Error type for [NeededBlobs.BlobWritten].
GcProtection
How the package served by [PackageCache.Get] should be protected from GC.
GetInfoError
GetSubpackageError
Error type for [PackageCache.GetSubpackage].
OpenBlobError
Error type for [NeededBlobs.OpenMetaBlob] and [NeededBlobs.OpenBlob].
RepositoryKeyConfig
The keys used by the repository to authenticate its packages.
RepositoryStorageType
Where the repository storage is written to.
ResolveError
Error codes for PackageResolver operations.
SetUpgradableUrlsError
Error type for [PackageCache.SetUpgradableUrls].
WriteError

Constants§

MAX_RESOLUTION_CONTEXT_SIZE
The maximum number of bytes for a ResolutionContext.