pub enum CanicInfrastructureArtifactPersistenceError {
Show 13 variants
ArtifactOutsideRoot {
role: CanicInfrastructureRole,
kind: &'static str,
path: PathBuf,
},
ArtifactRead {
role: CanicInfrastructureRole,
kind: &'static str,
path: PathBuf,
source: Error,
},
ConflictingManifest {
path: PathBuf,
},
FinalizedWithoutExactManifest {
release_build_id: ReleaseBuildId,
},
InvalidArtifactPath {
role: CanicInfrastructureRole,
kind: &'static str,
path: PathBuf,
},
InvalidManifestDocument {
path: PathBuf,
reason: String,
},
Manifest(CanicInfrastructureArtifactManifestError),
ManifestIo {
path: PathBuf,
source: Error,
},
MissingManifest {
path: PathBuf,
},
NonUtf8ArtifactPath {
role: CanicInfrastructureRole,
kind: &'static str,
path: PathBuf,
},
ReleaseBuild(ReleaseBuildPlanError),
UnsafeArtifact {
role: CanicInfrastructureRole,
kind: &'static str,
path: PathBuf,
},
UnsafeManifest {
path: PathBuf,
},
}Expand description
CanicInfrastructureArtifactPersistenceError
Typed rejection while materializing or admitting durable infrastructure evidence.
Variants§
ArtifactOutsideRoot
ArtifactRead
ConflictingManifest
FinalizedWithoutExactManifest
Fields
§
release_build_id: ReleaseBuildIdInvalidArtifactPath
InvalidManifestDocument
Manifest(CanicInfrastructureArtifactManifestError)
ManifestIo
MissingManifest
NonUtf8ArtifactPath
ReleaseBuild(ReleaseBuildPlanError)
UnsafeArtifact
UnsafeManifest
Trait Implementations§
Source§impl Error for CanicInfrastructureArtifactPersistenceError
impl Error for CanicInfrastructureArtifactPersistenceError
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()
Source§impl From<CanicInfrastructureArtifactManifestError> for CanicInfrastructureArtifactPersistenceError
impl From<CanicInfrastructureArtifactManifestError> for CanicInfrastructureArtifactPersistenceError
Source§fn from(source: CanicInfrastructureArtifactManifestError) -> Self
fn from(source: CanicInfrastructureArtifactManifestError) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseBuildPlanError> for CanicInfrastructureArtifactPersistenceError
impl From<ReleaseBuildPlanError> for CanicInfrastructureArtifactPersistenceError
Source§fn from(source: ReleaseBuildPlanError) -> Self
fn from(source: ReleaseBuildPlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for CanicInfrastructureArtifactPersistenceError
impl !UnwindSafe for CanicInfrastructureArtifactPersistenceError
impl Freeze for CanicInfrastructureArtifactPersistenceError
impl Send for CanicInfrastructureArtifactPersistenceError
impl Sync for CanicInfrastructureArtifactPersistenceError
impl Unpin for CanicInfrastructureArtifactPersistenceError
impl UnsafeUnpin for CanicInfrastructureArtifactPersistenceError
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