Construct a new `HashReader` given an existing `hasher` and `reader` by value.
(hasher: D, reader: R)
| 16 | |
| 17 | /// Construct a new `HashReader` given an existing `hasher` and `reader` by value. |
| 18 | pub fn new_from_parts(hasher: D, reader: R) -> Self { |
| 19 | HashReader { reader, hasher } |
| 20 | } |
| 21 | |
| 22 | /// Replace the reader with another reader |
| 23 | pub fn replace_reader(&mut self, reader: R) { |
nothing calls this directly
no outgoing calls
no test coverage detected