pub struct Sha256Digest(/* private fields */);Expand description
A lowercase SHA-256 digest in canonical hexadecimal form.
Implementations§
Source§impl Sha256Digest
impl Sha256Digest
Sourcepub fn from_bytes(bytes: &[u8]) -> Self
pub fn from_bytes(bytes: &[u8]) -> Self
Digest the exact bytes of an acquired immutable snapshot.
pub fn parse(value: &str) -> Result<Self, NodeUriError>
Trait Implementations§
Source§impl Clone for Sha256Digest
impl Clone for Sha256Digest
Source§impl Debug for Sha256Digest
impl Debug for Sha256Digest
Source§impl Display for Sha256Digest
impl Display for Sha256Digest
impl Eq for Sha256Digest
Source§impl Hash for Sha256Digest
impl Hash for Sha256Digest
Source§impl PartialEq for Sha256Digest
impl PartialEq for Sha256Digest
impl StructuralPartialEq for Sha256Digest
Auto Trait Implementations§
impl Freeze for Sha256Digest
impl RefUnwindSafe for Sha256Digest
impl Send for Sha256Digest
impl Sync for Sha256Digest
impl Unpin for Sha256Digest
impl UnsafeUnpin for Sha256Digest
impl UnwindSafe for Sha256Digest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.