pub enum PlanError {
MissingSource {
id: String,
path: PathBuf,
},
MissingRenderOutput {
product: String,
path: PathBuf,
command: String,
},
Walk {
id: String,
path: PathBuf,
source: Error,
},
NonRelativeDestination {
id: String,
path: PathBuf,
},
NonRelativeSource {
id: String,
path: PathBuf,
},
DestinationTraversal {
id: String,
path: PathBuf,
},
SourceTraversal {
id: String,
path: PathBuf,
},
}Variants§
MissingSource
MissingRenderOutput
Walk
NonRelativeDestination
NonRelativeSource
DestinationTraversal
SourceTraversal
Trait Implementations§
Source§impl Error for PlanError
impl Error for PlanError
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<PlanError> for DoctorError
impl From<PlanError> for DoctorError
Source§impl From<PlanError> for InstallError
impl From<PlanError> for InstallError
Source§impl From<PlanError> for PruneError
impl From<PlanError> for PruneError
Source§impl From<PlanError> for RestoreError
impl From<PlanError> for RestoreError
Auto Trait Implementations§
impl !RefUnwindSafe for PlanError
impl !UnwindSafe for PlanError
impl Freeze for PlanError
impl Send for PlanError
impl Sync for PlanError
impl Unpin for PlanError
impl UnsafeUnpin for PlanError
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