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