pub enum ArtifactPathError {
Show 36 variants
InvalidArtifactId {
value: String,
},
WorkspaceAllocationExhausted {
logical_id: ArtifactId,
},
PublicationDestinationExists {
path: PathBuf,
},
ReservedManifestPath {
path: PathBuf,
},
RequiredArtifactMissing {
path: PathBuf,
},
DuplicateLatestDestination {
id: ArtifactId,
},
LatestTransactionAllocationExhausted,
LatestLockTimeout {
path: PathBuf,
},
LatestSnapshotUnavailable {
path: PathBuf,
},
InvalidLatestPointer {
path: PathBuf,
},
LatestArtifactNotInSnapshot {
id: ArtifactId,
},
CorruptGeneration {
path: PathBuf,
detail: String,
},
BrokenGenerationChain {
generation: String,
predecessor: String,
},
GenerationChainCycle {
generation: String,
},
AmbiguousGenerationFork {
predecessor: String,
children: Vec<String>,
},
AmbiguousGenerationTips {
tips: Vec<String>,
},
StaleLatestGeneration {
expected: Option<String>,
observed: Option<String>,
},
ProducerDowngrade {
existing: String,
attempted: String,
},
InvalidProducerVersion {
version: String,
source: Error,
},
UnknownManifestVersion {
path: PathBuf,
found: u32,
supported: u32,
},
ManifestIntegrity {
path: PathBuf,
detail: String,
},
ManifestJson {
path: PathBuf,
source: Error,
},
LatestRollback {
original: Box<ArtifactPathError>,
rollback: Box<ArtifactPathError>,
recovery_path: PathBuf,
},
LatestStagingCleanup {
original: Box<ArtifactPathError>,
cleanup: Box<ArtifactPathError>,
staging_path: PathBuf,
},
PublicationDurabilityUncertain {
path: PathBuf,
source: Box<ArtifactPathError>,
},
PublicationPostCommitMaintenance {
path: PathBuf,
source: Box<ArtifactPathError>,
},
LatestCommitDurabilityUncertain {
generation: String,
source: Box<ArtifactPathError>,
},
LatestRetentionAfterCommit {
generation: String,
source: Box<ArtifactPathError>,
},
RootNotDirectory(PathBuf),
InvalidRelativePath {
path: PathBuf,
},
SymlinkComponent {
path: PathBuf,
},
DirectoryComponentNotDirectory {
path: PathBuf,
},
FileDestinationNotFile {
path: PathBuf,
},
HardLinkedArtifact {
path: PathBuf,
links: u64,
},
NonUtf8ArtifactPath {
path: PathBuf,
},
Io {
operation: &'static str,
path: PathBuf,
source: Error,
},
}Expand description
Failure to approve a root or safely prepare one of its descendants.
Variants§
InvalidArtifactId
WorkspaceAllocationExhausted
Fields
§
logical_id: ArtifactIdPublicationDestinationExists
ReservedManifestPath
RequiredArtifactMissing
DuplicateLatestDestination
Fields
§
id: ArtifactIdLatestTransactionAllocationExhausted
LatestLockTimeout
InvalidLatestPointer
LatestArtifactNotInSnapshot
Fields
§
id: ArtifactIdCorruptGeneration
BrokenGenerationChain
GenerationChainCycle
AmbiguousGenerationFork
AmbiguousGenerationTips
StaleLatestGeneration
ProducerDowngrade
InvalidProducerVersion
UnknownManifestVersion
ManifestIntegrity
ManifestJson
LatestRollback
LatestStagingCleanup
PublicationDurabilityUncertain
PublicationPostCommitMaintenance
LatestCommitDurabilityUncertain
LatestRetentionAfterCommit
RootNotDirectory(PathBuf)
InvalidRelativePath
SymlinkComponent
DirectoryComponentNotDirectory
FileDestinationNotFile
HardLinkedArtifact
NonUtf8ArtifactPath
Io
Trait Implementations§
Source§impl Debug for ArtifactPathError
impl Debug for ArtifactPathError
Source§impl Display for ArtifactPathError
impl Display for ArtifactPathError
Source§impl Error for ArtifactPathError
impl Error for ArtifactPathError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for ArtifactPathError
impl !UnwindSafe for ArtifactPathError
impl Freeze for ArtifactPathError
impl Send for ArtifactPathError
impl Sync for ArtifactPathError
impl Unpin for ArtifactPathError
impl UnsafeUnpin for ArtifactPathError
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
Mutably borrows from an owned value. Read more