pub struct NarHash([u8; 32]);Available on crate feature
daemon only.Expand description
newtype wrapper for the byte array that correctly implements NixSerialize, NixDeserialize.
Tuple Fields§
§0: [u8; 32]Trait Implementations§
Auto Trait Implementations§
impl Freeze for NarHash
impl RefUnwindSafe for NarHash
impl Send for NarHash
impl Sync for NarHash
impl Unpin for NarHash
impl UnwindSafe for NarHash
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more