Skip to main content

GithubArtifactError

Enum GithubArtifactError 

Source
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

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for GithubArtifactError

Source§

impl Debug for GithubArtifactError

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for GithubArtifactError

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for GithubArtifactError

Source§

impl Error for GithubArtifactError

1.30.0 · Source§

fn source(&self) -> Option<&(dyn Error + 'static)>

Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§

fn description(&self) -> &str

👎Deprecated since 1.42.0:

use the Display impl or to_string()

1.0.0 · Source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type-based access to context intended for error reports. Read more
Source§

impl From<GithubArtifactError> for GithubArtifactStoreError

Source§

fn from(value: GithubArtifactError) -> Self

Converts to this type from the input type.
Source§

impl PartialEq for GithubArtifactError

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for GithubArtifactError

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.