pub enum RestoreSafetyError {
Show 16 variants
RequestMismatch,
ContextMismatch(&'static str),
InventoryMismatch,
SelectionMismatch,
SourcePlanMismatch,
SourceArtifactsMismatch,
SafetyLaneMismatch,
UnresolvedExternalObligations,
TargetNotStopped,
RestoredAcceptanceRequired,
FenceMismatch,
MembershipRevisionMismatch,
ExternalObligationsRevisionMismatch,
FenceNotActive,
ControlledExecutionRequired,
ObservationLimitExceeded {
limit: u32,
reported: u32,
},
}Expand description
Typed fresh safety rejection; retains original spending, obligations and source references.
Variants§
RequestMismatch
Original request, source, safety, operation or challenge differs.
ContextMismatch(&'static str)
Actual current context differs from original restore context.
InventoryMismatch
Actual complete inventory differs, including unselected metadata.
SelectionMismatch
Actual rows do not equal the exact original selected set.
SourcePlanMismatch
Observed source plan differs from original retention.
SourceArtifactsMismatch
Observed artifact binding differs from original retention.
SafetyLaneMismatch
Current application evidence changes the original lane.
UnresolvedExternalObligations
External obligations/replayed work are known unresolved or unsafe.
TargetNotStopped
Required stopped/drained lifecycle has not been observed.
RestoredAcceptanceRequired
Every selected restored state needs application acceptance before start.
FenceMismatch
Exact retained fence identity differs.
MembershipRevisionMismatch
Original membership revision changed; never silently rebind a fence.
ExternalObligationsRevisionMismatch
Original external-obligation authority revision changed.
FenceNotActive
Retained exact fence is currently known inactive.
ControlledExecutionRequired
Isolated execution under retained custody has not been qualified before start.
ObservationLimitExceeded
Call reporting exceeds the descriptive ceiling.
Trait Implementations§
Source§impl Debug for RestoreSafetyError
impl Debug for RestoreSafetyError
Source§impl Display for RestoreSafetyError
impl Display for RestoreSafetyError
impl Eq for RestoreSafetyError
Source§impl Error for RestoreSafetyError
impl Error for RestoreSafetyError
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()