pub enum BackupPlanError {
Show 38 variants
EmptyField(&'static str),
InvalidPrincipal {
field: &'static str,
value: String,
},
InvalidTopologyHash {
field: &'static str,
value: String,
},
InvalidTimestamp {
field: &'static str,
value: String,
},
EmptyTargets,
EmptyPhases,
DuplicateTarget(String),
DuplicateOperationId(String),
OperationOrderMismatch {
operation_id: String,
order: u32,
expected: u32,
},
RootIncludedWithoutMaintenance,
MaintenanceRootExcludesRoot,
SelectedRootNotInTargets(String),
NonRootFleetHasSelectedRoot,
UnprovenControlAuthority(String),
UnprovenTargetSnapshotReadAuthority(String),
MissingRootController(String),
MissingControlAuthorityReceipt(String),
MissingSnapshotReadAuthorityReceipt(String),
UnknownAuthorityReceiptTarget(String),
DuplicateAuthorityReceipt(String),
AuthorityReceiptPlanMismatch {
expected: String,
actual: String,
},
AuthorityReceiptPreflightMismatch {
expected: String,
actual: String,
},
PreflightReceiptPlanMismatch {
expected: String,
actual: String,
},
PreflightReceiptIdMismatch {
expected: String,
actual: String,
},
PreflightReceiptNotYetValid {
preflight_id: String,
validated_at: String,
as_of: String,
},
PreflightReceiptExpired {
preflight_id: String,
expires_at: String,
as_of: String,
},
PreflightReceiptInvalidWindow {
preflight_id: String,
},
TopologyPreflightHashMismatch {
expected: String,
actual: String,
},
TopologyPreflightTargetsMismatch,
QuiescencePolicyMismatch,
QuiescencePreflightRejected,
QuiescencePreflightTargetsMismatch,
UnknownOperationTarget {
operation_id: String,
target_canister_id: String,
},
UnknownSelector(String),
AmbiguousSelector {
selector: String,
matches: Vec<String>,
},
MissingPreflight(&'static str),
MutationBeforePreflight {
operation_id: String,
},
Discovery(DiscoveryError),
}Expand description
BackupPlanError
Variants§
EmptyField(&'static str)
InvalidPrincipal
InvalidTopologyHash
InvalidTimestamp
EmptyTargets
EmptyPhases
DuplicateTarget(String)
DuplicateOperationId(String)
OperationOrderMismatch
RootIncludedWithoutMaintenance
MaintenanceRootExcludesRoot
SelectedRootNotInTargets(String)
NonRootFleetHasSelectedRoot
UnprovenControlAuthority(String)
UnprovenTargetSnapshotReadAuthority(String)
MissingRootController(String)
MissingControlAuthorityReceipt(String)
MissingSnapshotReadAuthorityReceipt(String)
UnknownAuthorityReceiptTarget(String)
DuplicateAuthorityReceipt(String)
AuthorityReceiptPlanMismatch
AuthorityReceiptPreflightMismatch
PreflightReceiptPlanMismatch
PreflightReceiptIdMismatch
PreflightReceiptNotYetValid
PreflightReceiptExpired
PreflightReceiptInvalidWindow
TopologyPreflightHashMismatch
TopologyPreflightTargetsMismatch
QuiescencePolicyMismatch
QuiescencePreflightRejected
QuiescencePreflightTargetsMismatch
UnknownOperationTarget
UnknownSelector(String)
AmbiguousSelector
MissingPreflight(&'static str)
MutationBeforePreflight
Discovery(DiscoveryError)
Trait Implementations§
Source§impl Debug for BackupPlanError
impl Debug for BackupPlanError
Source§impl Display for BackupPlanError
impl Display for BackupPlanError
Source§impl Error for BackupPlanError
impl Error for BackupPlanError
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<BackupPlanError> for PersistenceError
impl From<BackupPlanError> for PersistenceError
Source§fn from(source: BackupPlanError) -> Self
fn from(source: BackupPlanError) -> Self
Converts to this type from the input type.
Source§impl From<DiscoveryError> for BackupPlanError
impl From<DiscoveryError> for BackupPlanError
Source§fn from(source: DiscoveryError) -> Self
fn from(source: DiscoveryError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackupPlanError
impl !RefUnwindSafe for BackupPlanError
impl Send for BackupPlanError
impl Sync for BackupPlanError
impl Unpin for BackupPlanError
impl UnsafeUnpin for BackupPlanError
impl !UnwindSafe for BackupPlanError
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