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

Method clone

digest-io-async/src/writer.rs:89–94  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

87
88impl<D: Digest + Clone, W: Clone> Clone for HashWriter<D, W> {
89 fn clone(&self) -> HashWriter<D, W> {
90 HashWriter {
91 writer: self.writer.clone(),
92 hasher: self.hasher.clone(),
93 }
94 }
95}
96
97impl<D: Digest, W: AsyncWrite> AsyncWrite for HashWriter<D, W> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected