pub enum Sha256Algorithm {}Expand description
Marker type for SHA-256 algorithm
Trait Implementations§
Source§impl HashAlgorithm for Sha256Algorithm
impl HashAlgorithm for Sha256Algorithm
Source§const OUTPUT_SIZE: usize = SHA256_OUTPUT_SIZE
const OUTPUT_SIZE: usize = SHA256_OUTPUT_SIZE
Output size in bytes
Source§const BLOCK_SIZE: usize = SHA256_BLOCK_SIZE
const BLOCK_SIZE: usize = SHA256_BLOCK_SIZE
Block size in bytes
Source§const ALGORITHM_ID: &'static str = "SHA-256"
const ALGORITHM_ID: &'static str = "SHA-256"
Static algorithm identifier for compile-time checking
Auto Trait Implementations§
impl Freeze for Sha256Algorithm
impl RefUnwindSafe for Sha256Algorithm
impl Send for Sha256Algorithm
impl Sync for Sha256Algorithm
impl Unpin for Sha256Algorithm
impl UnsafeUnpin for Sha256Algorithm
impl UnwindSafe for Sha256Algorithm
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