pub enum InstallerError {
InvalidSource {
path: PathBuf,
},
InvalidFrontmatter {
message: String,
},
MissingName,
InvalidName {
name: String,
},
ProjectRootRequired,
AlreadyExists {
path: PathBuf,
},
UnsupportedProvider {
provider: String,
},
PromptCancelled,
PromptError {
message: String,
},
IoError {
path: PathBuf,
message: String,
},
}Variants§
InvalidSource
InvalidFrontmatter
MissingName
InvalidName
ProjectRootRequired
AlreadyExists
UnsupportedProvider
PromptCancelled
PromptError
IoError
Trait Implementations§
Source§impl Debug for InstallerError
impl Debug for InstallerError
Source§impl Display for InstallerError
impl Display for InstallerError
Source§impl Error for InstallerError
impl Error for InstallerError
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()
Auto Trait Implementations§
impl Freeze for InstallerError
impl RefUnwindSafe for InstallerError
impl Send for InstallerError
impl Sync for InstallerError
impl Unpin for InstallerError
impl UnsafeUnpin for InstallerError
impl UnwindSafe for InstallerError
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