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

Method clone

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

Source from the content-addressed store, hash-verified

79
80impl<D: Digest + Clone, W: io::Write + Clone> Clone for HashWriter<D, W> {
81 fn clone(&self) -> HashWriter<D, W> {
82 HashWriter {
83 writer: self.writer.clone(),
84 hasher: self.hasher.clone(),
85 }
86 }
87}
88
89impl<D: Digest, W: io::Write> io::Write for HashWriter<D, W> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected