Enum spack::commands::build_env::BuildEnvError
source · pub enum BuildEnvError {
Command(CommandErrorWrapper),
Setup(SetupErrorWrapper),
Install(InstallError),
Io(Error),
}Expand description
Errors setting up the build environment.
Variants§
Command(CommandErrorWrapper)
{0}
Setup(SetupErrorWrapper)
setup error {0}
Install(InstallError)
install error {0}
Io(Error)
io error: {0}
Trait Implementations§
source§impl Debug for BuildEnvError
impl Debug for BuildEnvError
source§impl Display for BuildEnvError
impl Display for BuildEnvError
source§impl Error for BuildEnvError
impl Error for BuildEnvError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<CommandErrorWrapper> for BuildEnvError
impl From<CommandErrorWrapper> for BuildEnvError
source§fn from(source: CommandErrorWrapper) -> Self
fn from(source: CommandErrorWrapper) -> Self
Converts to this type from the input type.
source§impl From<Error> for BuildEnvError
impl From<Error> for BuildEnvError
source§impl From<InstallError> for BuildEnvError
impl From<InstallError> for BuildEnvError
source§fn from(source: InstallError) -> Self
fn from(source: InstallError) -> Self
Converts to this type from the input type.
source§impl From<SetupErrorWrapper> for BuildEnvError
impl From<SetupErrorWrapper> for BuildEnvError
source§fn from(source: SetupErrorWrapper) -> Self
fn from(source: SetupErrorWrapper) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for BuildEnvError
impl Send for BuildEnvError
impl Sync for BuildEnvError
impl Unpin for BuildEnvError
impl !UnwindSafe for BuildEnvError
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