pub struct Sha1;Trait Implementations§
Source§impl Multihash for Sha1
 
impl Multihash for Sha1
type Digester = Sha1
fn name(&self) -> &'static str
fn code(&self) -> Uvar
fn length(&self) -> u8
fn digest_primitive(&self, tag: Tag, bytes: &[u8]) -> Harvest
fn digest_collection(&self, tag: Tag, list: Vec<Vec<u8>>) -> Harvest
fn digester(&self) -> Self::Digester
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