pub enum TransportError {
Show 26 variants
Execution(GhExecutionError),
WorkflowDispatchHttp(GithubWorkflowDispatchHttpError),
EnvironmentSecretTooLarge,
MalformedResponse {
operation: &'static str,
},
RepositoryIdentityMismatch,
RepositoryAuthorizationMissing,
EnvironmentIdentityMismatch,
InvalidWorkflowPath,
WorkflowIdentityMismatch,
WorkflowInactive,
WorkflowDispatchStatusMismatch,
RunNotFound,
AmbiguousRun,
RunIdentityMismatch,
PollLimitReached,
PaginationLimitReached {
resource: &'static str,
},
ArtifactNotFound,
AmbiguousArtifact,
ArtifactExpired,
ArtifactTooLarge,
InvalidArtifactZip,
ArtifactSizeMismatch,
ArtifactDigestMismatch,
DestinationExists,
ArtifactWriteFailed,
ArtifactCleanupUncertain,
}Expand description
Redacted transport or response-validation failure.
Variants§
Execution(GhExecutionError)
The underlying fixed-argv request failed.
WorkflowDispatchHttp(GithubWorkflowDispatchHttpError)
The direct no-auto-redirect workflow-dispatch exchange failed.
EnvironmentSecretTooLarge
One Environment-secret value exceeded GitHub’s fixed 48 KiB limit.
MalformedResponse
GitHub returned malformed or unsupported metadata.
RepositoryIdentityMismatch
Repository metadata did not match the exact requested owner/name.
RepositoryAuthorizationMissing
An installation credential did not include the exact requested repository.
EnvironmentIdentityMismatch
Environment metadata did not match the exact configured name.
InvalidWorkflowPath
Workflow path was not one validated .github/workflows/*.yml file.
WorkflowIdentityMismatch
Workflow metadata did not match the exact requested path.
WorkflowInactive
The exact registered workflow is not active.
WorkflowDispatchStatusMismatch
Workflow dispatch did not return the required HTTP 200 response.
RunNotFound
No exact matching run was found within the page bound.
AmbiguousRun
More than one exact matching run was returned.
RunIdentityMismatch
A known run changed immutable identity fields.
PollLimitReached
Polling ended before the run became terminal.
PaginationLimitReached
Pagination filled every allowed page, so results may be incomplete.
ArtifactNotFound
No exact artifact name matched.
AmbiguousArtifact
More than one artifact had the exact expected name.
ArtifactExpired
The selected artifact has expired.
ArtifactTooLarge
Artifact metadata or response exceeded the configured size bound.
InvalidArtifactZip
Downloaded bytes were not structurally recognizable as one ZIP file.
ArtifactSizeMismatch
Downloaded byte count differs from the exact GitHub metadata.
ArtifactDigestMismatch
Downloaded SHA-256 differs from the exact GitHub metadata.
DestinationExists
The exact destination already exists; it is never overwritten.
ArtifactWriteFailed
Creating, writing, syncing, or verifying the new destination failed.
ArtifactCleanupUncertain
A failed create, write, or verification may have left the new destination on disk.
Trait Implementations§
Source§impl Clone for TransportError
impl Clone for TransportError
impl Copy for TransportError
Source§impl Debug for TransportError
impl Debug for TransportError
Source§impl Display for TransportError
impl Display for TransportError
impl Eq for TransportError
Source§impl Error for TransportError
impl Error for TransportError
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<GhExecutionError> for TransportError
impl From<GhExecutionError> for TransportError
Source§fn from(value: GhExecutionError) -> Self
fn from(value: GhExecutionError) -> Self
Source§impl From<GithubWorkflowDispatchHttpError> for TransportError
impl From<GithubWorkflowDispatchHttpError> for TransportError
Source§fn from(value: GithubWorkflowDispatchHttpError) -> Self
fn from(value: GithubWorkflowDispatchHttpError) -> Self
Source§impl From<TransportError> for GithubArtifactStoreError
impl From<TransportError> for GithubArtifactStoreError
Source§fn from(value: TransportError) -> Self
fn from(value: TransportError) -> Self
Source§impl PartialEq for TransportError
impl PartialEq for TransportError
impl StructuralPartialEq for TransportError
Auto Trait Implementations§
impl Freeze for TransportError
impl RefUnwindSafe for TransportError
impl Send for TransportError
impl Sync for TransportError
impl Unpin for TransportError
impl UnsafeUnpin for TransportError
impl UnwindSafe for TransportError
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.