pub enum RestoreSafetyRequirementError {
UnsupportedVersion(u16),
PlanMismatch,
SourcePlanMismatch,
SourceNetworkMismatch,
SourceReleaseMismatch,
SourceSelectionMismatch,
FenceRequired,
UnexpectedFence,
Checksum(ChecksumError),
}Expand description
Typed original source/safety declaration denial; retains all existing obligations.
Variants§
UnsupportedVersion(u16)
Only v1 is maintained.
PlanMismatch
Full original restore intent differs.
SourcePlanMismatch
Full original source plan differs.
SourceNetworkMismatch
Cross-network recovery is outside this product scope.
SourceReleaseMismatch
Cross-release recovery is outside this product scope.
SourceSelectionMismatch
Every selected exact target must also have been selected in the source.
FenceRequired
The application-fenced lane must retain original fence/revisions.
UnexpectedFence
The no-irreversible-effects lane cannot silently add a fence obligation.
Checksum(ChecksumError)
Intent hash admission failed.
Trait Implementations§
Source§impl Error for RestoreSafetyRequirementError
impl Error for RestoreSafetyRequirementError
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<ChecksumError> for RestoreSafetyRequirementError
impl From<ChecksumError> for RestoreSafetyRequirementError
Source§fn from(source: ChecksumError) -> Self
fn from(source: ChecksumError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for FenceObligationError
impl From<RestoreSafetyRequirementError> for FenceObligationError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for RestoreSafetyRequestError
impl From<RestoreSafetyRequirementError> for RestoreSafetyRequestError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for RestoreSafetyPersistenceError
impl From<RestoreSafetyRequirementError> for RestoreSafetyPersistenceError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreSafetyRequirementError> for LocalRestoreSourcePolicyError
impl From<RestoreSafetyRequirementError> for LocalRestoreSourcePolicyError
Source§fn from(source: RestoreSafetyRequirementError) -> Self
fn from(source: RestoreSafetyRequirementError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RestoreSafetyRequirementError
impl RefUnwindSafe for RestoreSafetyRequirementError
impl Send for RestoreSafetyRequirementError
impl Sync for RestoreSafetyRequirementError
impl Unpin for RestoreSafetyRequirementError
impl UnsafeUnpin for RestoreSafetyRequirementError
impl UnwindSafe for RestoreSafetyRequirementError
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