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

Method get_reader_mut

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

Gets a mutable reference to the underlying reader Direct reads from the underlying reader are not hashed

(&mut self)

Source from the content-addressed store, hash-verified

50 /// Gets a mutable reference to the underlying reader
51 /// Direct reads from the underlying reader are not hashed
52 pub fn get_reader_mut(&mut self) -> &mut R {
53 &mut self.reader
54 }
55
56 /// Consume the HashReader and return its hasher
57 pub fn into_hasher(self) -> D {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected