MCPcopy Create free account
hub / github.com/RustCrypto/utils / get_hasher_mut

Method get_hasher_mut

digest-io-async/src/reader.rs:46–48  ·  view source on GitHub ↗

Gets a mutable reference to the underlying hasher

(&mut self)

Source from the content-addressed store, hash-verified

44
45 /// Gets a mutable reference to the underlying hasher
46 pub fn get_hasher_mut(&mut self) -> &mut D {
47 &mut self.hasher
48 }
49
50 /// Gets a mutable reference to the underlying reader
51 /// Direct reads from the underlying reader are not hashed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected