pub enum HashSource {
FlakeLock,
FlakeNix,
Metadata,
Directory,
}Expand description
Source of the Nix hash
Variants§
FlakeLock
Hash computed from flake.lock file
FlakeNix
Hash computed from flake.nix file (fallback)
Metadata
Hash from nix flake metadata command
Directory
Hash from directory contents (no flake)
Trait Implementations§
Source§impl Clone for HashSource
impl Clone for HashSource
Source§fn clone(&self) -> HashSource
fn clone(&self) -> HashSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HashSource
impl Debug for HashSource
Source§impl<'de> Deserialize<'de> for HashSource
impl<'de> Deserialize<'de> for HashSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HashSource
Source§impl Hash for HashSource
impl Hash for HashSource
Source§impl PartialEq for HashSource
impl PartialEq for HashSource
Source§fn eq(&self, other: &HashSource) -> bool
fn eq(&self, other: &HashSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HashSource
impl Serialize for HashSource
impl StructuralPartialEq for HashSource
Auto Trait Implementations§
impl Freeze for HashSource
impl RefUnwindSafe for HashSource
impl Send for HashSource
impl Sync for HashSource
impl Unpin for HashSource
impl UnsafeUnpin for HashSource
impl UnwindSafe for HashSource
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