Enum nix_compat::store_path::utils::BuildStorePathError
source · pub enum BuildStorePathError {
InvalidStorePath(Error),
InvalidReference(),
}
Expand description
Errors that can occur when creating a content-addressed store path.
This wraps the main crate::store_path::Error..
Variants§
InvalidStorePath(Error)
InvalidReference()
This error occurs when we have references outside the SHA-256 + Recursive case. The restriction comes from upstream Nix. It may be lifted at some point but there isn’t a pressing need to anticipate that.
Trait Implementations§
source§impl Debug for BuildStorePathError
impl Debug for BuildStorePathError
source§impl Display for BuildStorePathError
impl Display for BuildStorePathError
source§impl Error for BuildStorePathError
impl Error for BuildStorePathError
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 BuildStorePathError
impl PartialEq for BuildStorePathError
source§fn eq(&self, other: &BuildStorePathError) -> bool
fn eq(&self, other: &BuildStorePathError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BuildStorePathError
impl StructuralPartialEq for BuildStorePathError
Auto Trait Implementations§
impl Freeze for BuildStorePathError
impl RefUnwindSafe for BuildStorePathError
impl Send for BuildStorePathError
impl Sync for BuildStorePathError
impl Unpin for BuildStorePathError
impl UnwindSafe for BuildStorePathError
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