Enum nix_compat::derivation::errors::DerivationError
source · pub enum DerivationError {
Show 14 variants
NoOutputs(),
InvalidOutputName(String),
MoreThanOneOutputButFixed(),
InvalidOutputNameForFixed(String),
InvalidOutput(String, OutputError),
InvalidOutputDerivationPath(String, BuildStorePathError),
InvalidInputDerivationPath(String, Error),
InvalidInputDerivationPrefix(String),
EmptyInputDerivationOutputNames(String),
InvalidInputDerivationOutputName(String, String),
InvalidInputSourcesPath(String, Error),
InvalidPlatform(String),
InvalidBuilder(String),
InvalidEnvironmentKey(String),
}
Expand description
Errors that can occur during the validation of Derivation structs.
Variants§
NoOutputs()
InvalidOutputName(String)
MoreThanOneOutputButFixed()
InvalidOutputNameForFixed(String)
InvalidOutput(String, OutputError)
InvalidOutputDerivationPath(String, BuildStorePathError)
InvalidInputDerivationPath(String, Error)
InvalidInputDerivationPrefix(String)
EmptyInputDerivationOutputNames(String)
InvalidInputDerivationOutputName(String, String)
InvalidInputSourcesPath(String, Error)
InvalidPlatform(String)
InvalidBuilder(String)
InvalidEnvironmentKey(String)
Trait Implementations§
source§impl Debug for DerivationError
impl Debug for DerivationError
source§impl Display for DerivationError
impl Display for DerivationError
source§impl Error for DerivationError
impl Error for DerivationError
1.30.0 · 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 PartialEq for DerivationError
impl PartialEq for DerivationError
source§fn eq(&self, other: &DerivationError) -> bool
fn eq(&self, other: &DerivationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DerivationError
Auto Trait Implementations§
impl Freeze for DerivationError
impl RefUnwindSafe for DerivationError
impl Send for DerivationError
impl Sync for DerivationError
impl Unpin for DerivationError
impl UnwindSafe for DerivationError
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