pub struct WriteSetDigest(/* private fields */);Expand description
The digest identity of one canonical transaction write set.
Implementations§
Source§impl WriteSetDigest
impl WriteSetDigest
Sourcepub fn digest_canonical(canonical_write_set: &[u8]) -> Self
pub fn digest_canonical(canonical_write_set: &[u8]) -> Self
Hash a canonical write-set encoding with a VSH domain separator.
Trait Implementations§
Source§impl Clone for WriteSetDigest
impl Clone for WriteSetDigest
Source§fn clone(&self) -> WriteSetDigest
fn clone(&self) -> WriteSetDigest
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 WriteSetDigest
Source§impl Debug for WriteSetDigest
impl Debug for WriteSetDigest
Source§impl Display for WriteSetDigest
impl Display for WriteSetDigest
impl Eq for WriteSetDigest
Source§impl FromStr for WriteSetDigest
impl FromStr for WriteSetDigest
Source§impl Hash for WriteSetDigest
impl Hash for WriteSetDigest
Source§impl Ord for WriteSetDigest
impl Ord for WriteSetDigest
Source§fn cmp(&self, other: &WriteSetDigest) -> Ordering
fn cmp(&self, other: &WriteSetDigest) -> 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 WriteSetDigest
impl PartialEq for WriteSetDigest
Source§impl PartialOrd for WriteSetDigest
impl PartialOrd for WriteSetDigest
impl StructuralPartialEq for WriteSetDigest
Auto Trait Implementations§
impl Freeze for WriteSetDigest
impl RefUnwindSafe for WriteSetDigest
impl Send for WriteSetDigest
impl Sync for WriteSetDigest
impl Unpin for WriteSetDigest
impl UnsafeUnpin for WriteSetDigest
impl UnwindSafe for WriteSetDigest
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