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

Method into_parts

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

Consume the HashReader and return its hasher and internal reader

(self)

Source from the content-addressed store, hash-verified

57
58 /// Consume the HashReader and return its hasher and internal reader
59 pub fn into_parts(self) -> (D, R) {
60 (self.hasher, self.reader)
61 }
62
63 /// Retrieve result and consume HashReader instance.
64 pub fn finalize(self) -> Output<D> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected