pub struct Sha1 { /* private fields */ }
Expand description
Represents a Sha1 hash object in memory.
Implementations§
Source§impl Sha1
impl Sha1
Sourcepub fn new() -> Sha1
pub fn new() -> Sha1
Creates an fresh sha1 hash object.
This is equivalent to creating a hash with Default::default
.
Trait Implementations§
Source§impl Ord for Sha1
impl Ord for Sha1
Source§impl PartialOrd for Sha1
impl PartialOrd for Sha1
impl Eq for Sha1
impl StructuralPartialEq for Sha1
Auto Trait Implementations§
impl Freeze for Sha1
impl RefUnwindSafe for Sha1
impl Send for Sha1
impl Sync for Sha1
impl Unpin for Sha1
impl UnwindSafe for Sha1
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