pub enum PurgeError {
Io {
path: PathBuf,
source: Error,
},
Cancelled,
}Variants§
Io
Cancelled
The operator answered the confirmation prompt with anything
other than y / yes. Treated as a clean refusal — not an
error to log as a stack trace.
Trait Implementations§
Source§impl Debug for PurgeError
impl Debug for PurgeError
Source§impl Display for PurgeError
impl Display for PurgeError
Source§impl Error for PurgeError
impl Error for PurgeError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for PurgeError
impl !UnwindSafe for PurgeError
impl Freeze for PurgeError
impl Send for PurgeError
impl Sync for PurgeError
impl Unpin for PurgeError
impl UnsafeUnpin for PurgeError
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