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

Method get_hasher_mut

digest-io/src/reader.rs:38–40  ·  view source on GitHub ↗

Gets a mutable reference to the underlying hasher

(&mut self)

Source from the content-addressed store, hash-verified

36
37 /// Gets a mutable reference to the underlying hasher
38 pub fn get_hasher_mut(&mut self) -> &mut D {
39 &mut self.hasher
40 }
41
42 /// Gets a mutable reference to the underlying reader
43 /// Direct reads from the underlying reader are not hashed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected