pub struct DiffDigest(/* private fields */);Expand description
The digest identity of one canonical virtual filesystem diff.
Implementations§
Source§impl DiffDigest
impl DiffDigest
Source§impl DiffDigest
impl DiffDigest
Sourcepub fn digest_canonical(canonical_diff: &[u8]) -> Self
pub fn digest_canonical(canonical_diff: &[u8]) -> Self
Hash a canonical diff encoding with a VSH domain separator.
Trait Implementations§
Source§impl Clone for DiffDigest
impl Clone for DiffDigest
Source§fn clone(&self) -> DiffDigest
fn clone(&self) -> DiffDigest
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 moreimpl Copy for DiffDigest
Source§impl Debug for DiffDigest
impl Debug for DiffDigest
Source§impl Display for DiffDigest
impl Display for DiffDigest
impl Eq for DiffDigest
Source§impl FromStr for DiffDigest
impl FromStr for DiffDigest
Source§impl Hash for DiffDigest
impl Hash for DiffDigest
Source§impl Ord for DiffDigest
impl Ord for DiffDigest
Source§fn cmp(&self, other: &DiffDigest) -> Ordering
fn cmp(&self, other: &DiffDigest) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DiffDigest
impl PartialEq for DiffDigest
Source§impl PartialOrd for DiffDigest
impl PartialOrd for DiffDigest
impl StructuralPartialEq for DiffDigest
Auto Trait Implementations§
impl Freeze for DiffDigest
impl RefUnwindSafe for DiffDigest
impl Send for DiffDigest
impl Sync for DiffDigest
impl Unpin for DiffDigest
impl UnsafeUnpin for DiffDigest
impl UnwindSafe for DiffDigest
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