Enum mc_build_rs::EnvironmentError
source · pub enum EnvironmentError {
Var(String, VarError),
Endianness(EndiannessError),
TargetFamily(TargetFamilyError),
ParseInt(String, ParseIntError),
OutDir(PathBuf),
}
Expand description
An enumeration of errors which can occur when parsing the build environment
Variants§
Var(String, VarError)
Environment variable {0} not readable: {1}
Endianness(EndiannessError)
Endianness error: {0}
TargetFamily(TargetFamilyError)
Target family error: {0}
ParseInt(String, ParseIntError)
Could not parse {0}: {1}
OutDir(PathBuf)
Output directory badly constructed: {0:?}
Trait Implementations§
source§impl Clone for EnvironmentError
impl Clone for EnvironmentError
source§fn clone(&self) -> EnvironmentError
fn clone(&self) -> EnvironmentError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for EnvironmentError
impl Debug for EnvironmentError
source§impl Display for EnvironmentError
impl Display for EnvironmentError
source§impl From<EndiannessError> for EnvironmentError
impl From<EndiannessError> for EnvironmentError
source§fn from(src: EndiannessError) -> EnvironmentError
fn from(src: EndiannessError) -> EnvironmentError
Converts to this type from the input type.
source§impl From<TargetFamilyError> for EnvironmentError
impl From<TargetFamilyError> for EnvironmentError
source§fn from(src: TargetFamilyError) -> EnvironmentError
fn from(src: TargetFamilyError) -> EnvironmentError
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentError
impl Send for EnvironmentError
impl Sync for EnvironmentError
impl Unpin for EnvironmentError
impl UnwindSafe for EnvironmentError
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