pub enum ReleaseBuildPlanError {
Io {
path: PathBuf,
source: Error,
},
UnsafeFile {
path: PathBuf,
},
Missing {
path: PathBuf,
},
InvalidDocument {
path: PathBuf,
reason: String,
},
PathIdentityMismatch {
expected: ReleaseBuildId,
recorded: ReleaseBuildId,
},
NonceIdentityMismatch {
derived: ReleaseBuildId,
recorded: ReleaseBuildId,
},
ConflictingFinalization {
release_build_id: ReleaseBuildId,
},
ShortRandomRead {
actual: usize,
},
IdentityAllocationExhausted,
MissingFinalizedAuthority,
}Expand description
ReleaseBuildPlanError
Typed failure at the durable release-build authority boundary.
Variants§
Io
UnsafeFile
Missing
InvalidDocument
PathIdentityMismatch
NonceIdentityMismatch
ConflictingFinalization
Fields
§
release_build_id: ReleaseBuildIdShortRandomRead
IdentityAllocationExhausted
MissingFinalizedAuthority
Trait Implementations§
Source§impl Debug for ReleaseBuildPlanError
impl Debug for ReleaseBuildPlanError
Source§impl Display for ReleaseBuildPlanError
impl Display for ReleaseBuildPlanError
Source§impl Error for ReleaseBuildPlanError
impl Error for ReleaseBuildPlanError
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<ReleaseBuildPlanError> for FleetInstallPlanError
impl From<ReleaseBuildPlanError> for FleetInstallPlanError
Source§fn from(source: ReleaseBuildPlanError) -> Self
fn from(source: ReleaseBuildPlanError) -> Self
Converts to this type from the input type.
Source§impl From<ReleaseBuildPlanError> for ApplicationArtifactUnionPersistenceError
impl From<ReleaseBuildPlanError> for ApplicationArtifactUnionPersistenceError
Source§fn from(source: ReleaseBuildPlanError) -> Self
fn from(source: ReleaseBuildPlanError) -> 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 ReleaseBuildPlanError
impl !UnwindSafe for ReleaseBuildPlanError
impl Freeze for ReleaseBuildPlanError
impl Send for ReleaseBuildPlanError
impl Sync for ReleaseBuildPlanError
impl Unpin for ReleaseBuildPlanError
impl UnsafeUnpin for ReleaseBuildPlanError
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