pub enum RecoverError {
NothingToRecover,
Io(Error),
Workflow(WorkflowError),
}Expand description
Errors produced by recover operations.
Variants§
NothingToRecover
No state file exists — nothing to recover.
Io(Error)
Filesystem operation failed.
Workflow(WorkflowError)
State loading failed.
Trait Implementations§
Source§impl Debug for RecoverError
impl Debug for RecoverError
Source§impl Display for RecoverError
impl Display for RecoverError
Source§impl Error for RecoverError
impl Error for RecoverError
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 RecoverError
impl From<Error> for RecoverError
Source§impl From<WorkflowError> for RecoverError
impl From<WorkflowError> for RecoverError
Source§fn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RecoverError
impl !UnwindSafe for RecoverError
impl Freeze for RecoverError
impl Send for RecoverError
impl Sync for RecoverError
impl Unpin for RecoverError
impl UnsafeUnpin for RecoverError
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