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

Method reset

digest-io/src/reader.rs:113–115  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

111
112impl<D: Digest + Reset, R: io::Read> Reset for HashReader<D, R> {
113 fn reset(&mut self) {
114 Digest::reset(&mut self.hasher)
115 }
116}
117
118impl<D: Digest, R: io::BufRead> HashReader<D, R> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected