pub enum BackupExecutionJournalError {
Show 23 variants
InvalidPlan(String),
UnsupportedVersion(u16),
MissingField(&'static str),
DuplicateSequence(usize),
MissingSequence(usize),
AcceptedPreflightMissingId,
RestartRequiredMismatch,
PreflightAlreadyAccepted {
existing: String,
attempted: String,
},
PreflightPlanMismatch {
expected: String,
actual: String,
},
MutationReadyBeforePreflight {
sequence: usize,
},
MutationBeforePreflightAccepted {
sequence: usize,
},
OperationMissingReason(usize),
UnblockedOperationHasReasons(usize),
OperationNotFound(usize),
InvalidOperationTransition {
sequence: usize,
from: BackupExecutionOperationState,
to: BackupExecutionOperationState,
},
OutOfOrderOperationTransition {
requested: usize,
next: usize,
},
NoTransitionableOperation,
OperationNotFailed(usize),
ReceiptOperationNotFound(usize),
ReceiptOperationMismatch {
sequence: usize,
},
ReceiptJournalMismatch {
sequence: usize,
},
ReceiptPreflightMismatch {
sequence: usize,
},
ReceiptWithoutPendingOperation {
sequence: usize,
},
}Expand description
BackupExecutionJournalError
Variants§
InvalidPlan(String)
UnsupportedVersion(u16)
MissingField(&'static str)
DuplicateSequence(usize)
MissingSequence(usize)
AcceptedPreflightMissingId
RestartRequiredMismatch
PreflightAlreadyAccepted
PreflightPlanMismatch
MutationReadyBeforePreflight
MutationBeforePreflightAccepted
OperationMissingReason(usize)
UnblockedOperationHasReasons(usize)
OperationNotFound(usize)
InvalidOperationTransition
OutOfOrderOperationTransition
NoTransitionableOperation
OperationNotFailed(usize)
ReceiptOperationNotFound(usize)
ReceiptOperationMismatch
ReceiptJournalMismatch
ReceiptPreflightMismatch
ReceiptWithoutPendingOperation
Trait Implementations§
Source§impl Debug for BackupExecutionJournalError
impl Debug for BackupExecutionJournalError
Source§impl Error for BackupExecutionJournalError
impl Error for BackupExecutionJournalError
1.30.0 · 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<BackupExecutionJournalError> for BackupRunnerError
impl From<BackupExecutionJournalError> for BackupRunnerError
Source§fn from(source: BackupExecutionJournalError) -> Self
fn from(source: BackupExecutionJournalError) -> Self
Converts to this type from the input type.
Source§impl From<BackupExecutionJournalError> for PersistenceError
impl From<BackupExecutionJournalError> for PersistenceError
Source§fn from(source: BackupExecutionJournalError) -> Self
fn from(source: BackupExecutionJournalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackupExecutionJournalError
impl RefUnwindSafe for BackupExecutionJournalError
impl Send for BackupExecutionJournalError
impl Sync for BackupExecutionJournalError
impl Unpin for BackupExecutionJournalError
impl UnsafeUnpin for BackupExecutionJournalError
impl UnwindSafe for BackupExecutionJournalError
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