pub struct NarHash([u8; 32]);
Expand description
newtype wrapper for the byte array that correctly implements NixSerialize, NixDeserialize.
Tuple Fields§
§0: [u8; 32]
Trait Implementations§
Source§impl NixDeserialize for NarHash
impl NixDeserialize for NarHash
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§
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