pub enum OutputsError {
NoOutputs(),
InvalidOutputName(String),
DuplicateOutputName(OutputName),
MoreThanOneOutputButFixed(),
InvalidOutputNameForFixed(String),
InvalidOutput(String, ParseOutputError),
InvalidOutputDerivationPath(String, ParseStorePathError),
}Expand description
Errors that can occur during the creation and validation of Outputs.
Variants§
NoOutputs()
InvalidOutputName(String)
DuplicateOutputName(OutputName)
MoreThanOneOutputButFixed()
InvalidOutputNameForFixed(String)
InvalidOutput(String, ParseOutputError)
InvalidOutputDerivationPath(String, ParseStorePathError)
Trait Implementations§
Source§impl Debug for OutputsError
impl Debug for OutputsError
Source§impl Display for OutputsError
impl Display for OutputsError
Source§impl Error for OutputsError
impl Error for OutputsError
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()
Source§impl From<OutputsError> for DerivationError
impl From<OutputsError> for DerivationError
Source§fn from(source: OutputsError) -> Self
fn from(source: OutputsError) -> Self
Converts to this type from the input type.
Source§impl From<OutputsError> for ErrorKind
impl From<OutputsError> for ErrorKind
Source§fn from(source: OutputsError) -> Self
fn from(source: OutputsError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OutputsError
impl PartialEq for OutputsError
Source§fn eq(&self, other: &OutputsError) -> bool
fn eq(&self, other: &OutputsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OutputsError
Auto Trait Implementations§
impl Freeze for OutputsError
impl RefUnwindSafe for OutputsError
impl Send for OutputsError
impl Sync for OutputsError
impl Unpin for OutputsError
impl UnsafeUnpin for OutputsError
impl UnwindSafe for OutputsError
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