pub struct Sha256Hasher;Expand description
SHA-256 哈希器(无状态,可复用)。
Implementations§
Source§impl Sha256Hasher
impl Sha256Hasher
pub const IDENTIFIER: &'static str = "sha256"
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for Sha256Hasher
impl Clone for Sha256Hasher
impl Copy for Sha256Hasher
Source§impl Debug for Sha256Hasher
impl Debug for Sha256Hasher
Source§impl Default for Sha256Hasher
impl Default for Sha256Hasher
Source§impl Hasher for Sha256Hasher
impl Hasher for Sha256Hasher
Source§impl Identified for Sha256Hasher
impl Identified for Sha256Hasher
fn identifier(&self) -> &str
Auto Trait Implementations§
impl Freeze for Sha256Hasher
impl RefUnwindSafe for Sha256Hasher
impl Send for Sha256Hasher
impl Sync for Sha256Hasher
impl Unpin for Sha256Hasher
impl UnsafeUnpin for Sha256Hasher
impl UnwindSafe for Sha256Hasher
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