pub enum RestorePersistenceError {
InvalidJournal(RestoreApplyJournalError),
Persistence(PersistenceError),
}Expand description
RestorePersistenceError
Typed validation or durable-write failure for restore recovery documents. Owned by restore persistence and returned to CLI and runner callers.
Variants§
InvalidJournal(RestoreApplyJournalError)
Persistence(PersistenceError)
Trait Implementations§
Source§impl Debug for RestorePersistenceError
impl Debug for RestorePersistenceError
Source§impl Display for RestorePersistenceError
impl Display for RestorePersistenceError
Source§impl Error for RestorePersistenceError
impl Error for RestorePersistenceError
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<PersistenceError> for RestorePersistenceError
impl From<PersistenceError> for RestorePersistenceError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<RestoreApplyJournalError> for RestorePersistenceError
impl From<RestoreApplyJournalError> for RestorePersistenceError
Source§fn from(source: RestoreApplyJournalError) -> Self
fn from(source: RestoreApplyJournalError) -> Self
Converts to this type from the input type.
Source§impl From<RestorePersistenceError> for RestoreRunnerError
impl From<RestorePersistenceError> for RestoreRunnerError
Source§fn from(source: RestorePersistenceError) -> Self
fn from(source: RestorePersistenceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RestorePersistenceError
impl !UnwindSafe for RestorePersistenceError
impl Freeze for RestorePersistenceError
impl Send for RestorePersistenceError
impl Sync for RestorePersistenceError
impl Unpin for RestorePersistenceError
impl UnsafeUnpin for RestorePersistenceError
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