pub enum HashDomain {
Blob,
ManifestNode,
Commit,
}Expand description
Domain separation labels for different hash contexts.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HashDomain
impl Clone for HashDomain
Source§fn clone(&self) -> HashDomain
fn clone(&self) -> HashDomain
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 HashDomain
impl Debug for HashDomain
Source§impl PartialEq for HashDomain
impl PartialEq for HashDomain
Source§fn eq(&self, other: &HashDomain) -> bool
fn eq(&self, other: &HashDomain) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for HashDomain
impl Eq for HashDomain
impl StructuralPartialEq for HashDomain
Auto Trait Implementations§
impl Freeze for HashDomain
impl RefUnwindSafe for HashDomain
impl Send for HashDomain
impl Sync for HashDomain
impl Unpin for HashDomain
impl UnsafeUnpin for HashDomain
impl UnwindSafe for HashDomain
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