pub enum RestorePlanError {
Io {
path: PathBuf,
source: Error,
},
}Expand description
Errors that can occur while walking the backup-run directory. None
fire when the run dir is empty — that case is an empty actions
vector, not an error.
Variants§
Trait Implementations§
Source§impl Debug for RestorePlanError
impl Debug for RestorePlanError
Source§impl Display for RestorePlanError
impl Display for RestorePlanError
Source§impl Error for RestorePlanError
impl Error for RestorePlanError
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<RestorePlanError> for RestoreError
impl From<RestorePlanError> for RestoreError
Source§fn from(source: RestorePlanError) -> Self
fn from(source: RestorePlanError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RestorePlanError
impl !UnwindSafe for RestorePlanError
impl Freeze for RestorePlanError
impl Send for RestorePlanError
impl Sync for RestorePlanError
impl Unpin for RestorePlanError
impl UnsafeUnpin for RestorePlanError
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