pub enum AppError {
HomeDirUnavailable,
ReadConfig {
path: PathBuf,
source: Error,
},
ParseConfigToml(Error),
MissingConfigField(&'static str),
CreateDir {
path: PathBuf,
source: Error,
},
InstallToolchain {
user: String,
repo: String,
source: String,
},
MoveToolchain {
from: PathBuf,
to: PathBuf,
source: Error,
},
RemoveToolchain {
path: PathBuf,
source: Error,
},
ReadScript {
path: PathBuf,
source: Error,
},
PackageManager(PmError),
UnsupportedToolchain {
toolchain: String,
detail: &'static str,
},
}Variants§
ReadConfig
ParseConfigToml(Error)
MissingConfigField(&'static str)
CreateDir
InstallToolchain
MoveToolchain
RemoveToolchain
ReadScript
PackageManager(PmError)
UnsupportedToolchain
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppError
impl !RefUnwindSafe for AppError
impl Send for AppError
impl Sync for AppError
impl Unpin for AppError
impl UnsafeUnpin for AppError
impl !UnwindSafe for AppError
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
Source§impl<T> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more