pub enum TemporaryRefPublishError {
Show 17 variants
Unauthorized,
RemoteMismatch,
TrustedRefUnavailable,
SourceRevisionNotTrusted,
TemporaryRefExists,
WorkflowFingerprintMismatch,
LocalIsolationFailed,
Git(GitExecutionError),
MalformedGitOutput,
PublicationVerificationFailed,
TemporaryRefLeaseRejected,
DeletionVerificationFailed,
GitSnapshotUnsupported,
ExecutionWorkflowVerificationUnsupported,
GitSnapshotInvalid,
GitSnapshotDiscoveryChanged,
GitSnapshotRefConflict,
}Expand description
Redacted temporary-ref publication failure.
Variants§
Caller did not explicitly authorize a temporary-ref mutation.
RemoteMismatch
Local repository remote differs from the configured GitHub repository.
Trusted source ref was absent or malformed.
SourceRevisionNotTrusted
Requested source commit was not reachable from the trusted ref.
TemporaryRefExists
Exact temporary branch already existed remotely.
WorkflowFingerprintMismatch
Workflow bytes differed from the approved fingerprint.
LocalIsolationFailed
A bounded local isolation file could not be reserved or removed.
Git(GitExecutionError)
Git failed without exposing its output.
MalformedGitOutput
Git returned malformed object or ref metadata.
PublicationVerificationFailed
Push completed without exact remote-ref confirmation.
TemporaryRefLeaseRejected
Atomic deletion lease was rejected because the remote ref changed.
DeletionVerificationFailed
Lease-protected deletion completed without exact absence confirmation.
GitSnapshotUnsupported
The selected publisher does not implement the Git snapshot contract.
ExecutionWorkflowVerificationUnsupported
The selected publisher cannot verify execution-default workflow bytes.
GitSnapshotInvalid
A retained stage, canonical graph, or local snapshot ref failed exact validation.
GitSnapshotDiscoveryChanged
Snapshot-store membership changed during one bounded recovery discovery.
GitSnapshotRefConflict
The exact local or remote snapshot ref is occupied by another commit.
Trait Implementations§
Source§impl Clone for TemporaryRefPublishError
impl Clone for TemporaryRefPublishError
impl Copy for TemporaryRefPublishError
Source§impl Debug for TemporaryRefPublishError
impl Debug for TemporaryRefPublishError
Source§impl Display for TemporaryRefPublishError
impl Display for TemporaryRefPublishError
impl Eq for TemporaryRefPublishError
Source§impl Error for TemporaryRefPublishError
impl Error for TemporaryRefPublishError
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<GitExecutionError> for TemporaryRefPublishError
impl From<GitExecutionError> for TemporaryRefPublishError
Source§fn from(value: GitExecutionError) -> Self
fn from(value: GitExecutionError) -> Self
Source§impl From<GitSnapshotError> for TemporaryRefPublishError
impl From<GitSnapshotError> for TemporaryRefPublishError
Source§fn from(value: GitSnapshotError) -> Self
fn from(value: GitSnapshotError) -> Self
Source§impl From<TemporaryRefPublishError> for TemporaryRefPublishFailure
impl From<TemporaryRefPublishError> for TemporaryRefPublishFailure
Source§fn from(error: TemporaryRefPublishError) -> Self
fn from(error: TemporaryRefPublishError) -> Self
Source§impl PartialEq for TemporaryRefPublishError
impl PartialEq for TemporaryRefPublishError
impl StructuralPartialEq for TemporaryRefPublishError
Auto Trait Implementations§
impl Freeze for TemporaryRefPublishError
impl RefUnwindSafe for TemporaryRefPublishError
impl Send for TemporaryRefPublishError
impl Sync for TemporaryRefPublishError
impl Unpin for TemporaryRefPublishError
impl UnsafeUnpin for TemporaryRefPublishError
impl UnwindSafe for TemporaryRefPublishError
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.