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

Method finalize

digest-io-async/src/writer.rs:73–75  ·  view source on GitHub ↗

Retrieve result and consume HashWriter instance.

(self)

Source from the content-addressed store, hash-verified

71
72 /// Retrieve result and consume HashWriter instance.
73 pub fn finalize(self) -> Output<D> {
74 self.hasher.finalize()
75 }
76
77 /// Write result into provided array and consume the HashWriter instance.
78 pub fn finalize_into(self, out: &mut Output<D>) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected