pub enum AppRootError {
InvalidName(String),
PathEscape(String),
CaseConflict {
requested: String,
existing: String,
},
WriterBusy(PathBuf),
UnsupportedSource(PathBuf),
Collision(PathBuf),
Overlap(PathBuf),
VerifyFailed(PathBuf),
Suite(SuiteError),
Io(Error),
}Variants§
InvalidName(String)
PathEscape(String)
A subpath was absolute, had .., ., a prefix, was empty, or resolved outside the root.
CaseConflict
An existing sibling differs from the requested app name only by case.
WriterBusy(PathBuf)
Another process holds the single-writer lock.
UnsupportedSource(PathBuf)
The source tree holds a symlink or special file; refused rather than followed.
Collision(PathBuf)
A destination file exists with different content; nothing is overwritten.
Overlap(PathBuf)
Source and destination are the same tree or nested in each other.
VerifyFailed(PathBuf)
Post-copy verification found a difference.
Suite(SuiteError)
Io(Error)
Trait Implementations§
Source§impl Debug for AppRootError
impl Debug for AppRootError
Source§impl Display for AppRootError
impl Display for AppRootError
Source§impl Error for AppRootError
impl Error for AppRootError
1.30.0 · 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 AppRootError
impl From<Error> for AppRootError
Source§impl From<SuiteError> for AppRootError
impl From<SuiteError> for AppRootError
Source§fn from(e: SuiteError) -> Self
fn from(e: SuiteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for AppRootError
impl !UnwindSafe for AppRootError
impl Freeze for AppRootError
impl Send for AppRootError
impl Sync for AppRootError
impl Unpin for AppRootError
impl UnsafeUnpin for AppRootError
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