pub enum GithubArtifactError {
Show 31 variants
InvalidExpectation,
InvalidPath,
TemporaryDirectoryNotEmpty,
ArchiveTooLarge,
InvalidArchive,
InvalidEntryCount,
UnsafeEntryName,
NestedArchiveRoot,
UnexpectedEntry,
DuplicateEntry,
PortableNameCollision,
EncryptedEntry,
UnsupportedCompression,
LinkedOrSpecialEntry,
MissingEntry(RequiredArtifactFile),
EntryTooLarge(RequiredArtifactFile),
ExpandedArchiveTooLarge,
CompressionRatioExceeded(RequiredArtifactFile),
EntryIntegrityFailed(RequiredArtifactFile),
InvalidManifest,
InvalidArtifactRecord(RequiredArtifactFile),
EvidenceMismatch,
InvalidPublicReport(RequiredArtifactFile),
ArtifactIntegrityFailed(RequiredArtifactFile),
IpaInspectionFailed,
InvalidProductArchive(RequiredArtifactFile),
ProductEvidenceMismatch(RequiredArtifactFile),
OutputAlreadyExists(RequiredArtifactFile),
AtomicPublicationFailed,
CleanupFailed,
Io(ErrorKind),
}Expand description
Secret-free artifact-ingestion failure.
Variants§
InvalidExpectation
Trusted expected identifiers are malformed.
InvalidPath
A supplied path is relative, aliased, or not the required filesystem kind.
TemporaryDirectoryNotEmpty
The caller-owned temporary directory is not empty.
ArchiveTooLarge
The downloaded ZIP exceeds its compressed-byte limit.
InvalidArchive
The downloaded bytes are not a valid supported ZIP.
InvalidEntryCount
The ZIP does not contain the exact request-derived central-directory entry count.
UnsafeEntryName
An entry name is non-UTF-8, absolute, traversing, or otherwise unsafe.
NestedArchiveRoot
An entry uses a nested directory or wrapper root.
UnexpectedEntry
An entry is not one of the exact request-derived public outputs.
DuplicateEntry
An exact ZIP entry occurs more than once.
PortableNameCollision
Distinct names collide after Unicode normalization and case folding.
EncryptedEntry
A ZIP entry is encrypted.
UnsupportedCompression
A ZIP entry uses an unsupported compression codec.
LinkedOrSpecialEntry
A ZIP entry is a symlink, hardlink-like alias, or special file.
MissingEntry(RequiredArtifactFile)
A required file is absent.
EntryTooLarge(RequiredArtifactFile)
A required entry exceeds its individual expanded-byte limit.
ExpandedArchiveTooLarge
Declared expanded sizes overflow or exceed the aggregate limit.
CompressionRatioExceeded(RequiredArtifactFile)
An entry exceeds the permitted expansion ratio.
EntryIntegrityFailed(RequiredArtifactFile)
Entry bytes did not match their declared ZIP metadata.
InvalidManifest
Manifest JSON or its semantic invariants are invalid.
InvalidArtifactRecord(RequiredArtifactFile)
A manifest record is absent, ambiguous, or has invalid metadata.
EvidenceMismatch
A manifest or public-report field conflicts with trusted run identity.
InvalidPublicReport(RequiredArtifactFile)
A signing or validation report is malformed or does not prove every gate.
ArtifactIntegrityFailed(RequiredArtifactFile)
Extracted bytes do not match the manifest SHA-256 and size.
IpaInspectionFailed
Cross-platform IPA inspection rejected the exact downloaded bytes.
InvalidProductArchive(RequiredArtifactFile)
An optional signed-product ZIP is malformed or violates its exact layout.
ProductEvidenceMismatch(RequiredArtifactFile)
Optional signed-product contents differ from the validated IPA or public evidence.
OutputAlreadyExists(RequiredArtifactFile)
An exact destination filename already exists.
AtomicPublicationFailed
This filesystem cannot provide no-replace atomic publication.
CleanupFailed
Created partial files could not all be removed.
Io(ErrorKind)
A path-free local I/O category.
Trait Implementations§
Source§impl Clone for GithubArtifactError
impl Clone for GithubArtifactError
impl Copy for GithubArtifactError
Source§impl Debug for GithubArtifactError
impl Debug for GithubArtifactError
Source§impl Display for GithubArtifactError
impl Display for GithubArtifactError
impl Eq for GithubArtifactError
Source§impl Error for GithubArtifactError
impl Error for GithubArtifactError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<GithubArtifactError> for GithubArtifactStoreError
impl From<GithubArtifactError> for GithubArtifactStoreError
Source§fn from(value: GithubArtifactError) -> Self
fn from(value: GithubArtifactError) -> Self
Source§impl PartialEq for GithubArtifactError
impl PartialEq for GithubArtifactError
impl StructuralPartialEq for GithubArtifactError
Auto Trait Implementations§
impl Freeze for GithubArtifactError
impl RefUnwindSafe for GithubArtifactError
impl Send for GithubArtifactError
impl Sync for GithubArtifactError
impl Unpin for GithubArtifactError
impl UnsafeUnpin for GithubArtifactError
impl UnwindSafe for GithubArtifactError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.