pub enum BackupPreflightError {
IncompleteJournal {
backup_id: String,
total_artifacts: usize,
pending_artifacts: usize,
},
Io(Error),
Json(Error),
Persistence(PersistenceError),
RestorePlan(RestorePlanError),
}Expand description
BackupPreflightError
Variants§
IncompleteJournal
Io(Error)
Json(Error)
Persistence(PersistenceError)
RestorePlan(RestorePlanError)
Trait Implementations§
Source§impl Debug for BackupPreflightError
impl Debug for BackupPreflightError
Source§impl Display for BackupPreflightError
impl Display for BackupPreflightError
Source§impl Error for BackupPreflightError
impl Error for BackupPreflightError
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<Error> for BackupPreflightError
impl From<Error> for BackupPreflightError
Source§impl From<Error> for BackupPreflightError
impl From<Error> for BackupPreflightError
Source§impl From<PersistenceError> for BackupPreflightError
impl From<PersistenceError> for BackupPreflightError
Source§fn from(source: PersistenceError) -> Self
fn from(source: PersistenceError) -> Self
Converts to this type from the input type.
Source§impl From<RestorePlanError> for BackupPreflightError
impl From<RestorePlanError> for BackupPreflightError
Source§fn from(source: RestorePlanError) -> Self
fn from(source: RestorePlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BackupPreflightError
impl !RefUnwindSafe for BackupPreflightError
impl Send for BackupPreflightError
impl Sync for BackupPreflightError
impl Unpin for BackupPreflightError
impl UnsafeUnpin for BackupPreflightError
impl !UnwindSafe for BackupPreflightError
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