MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / clone

Method clone

src/persist-client/src/fetch.rs:748–762  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

746
747impl<K: Codec, V: Codec, T: Clone, D> Clone for FetchedBlob<K, V, T, D> {
748 fn clone(&self) -> Self {
749 Self {
750 metrics: Arc::clone(&self.metrics),
751 read_metrics: self.read_metrics.clone(),
752 buf: self.buf.clone(),
753 registered_desc: self.registered_desc.clone(),
754 migration: self.migration.clone(),
755 filter: self.filter.clone(),
756 filter_pushdown_audit: self.filter_pushdown_audit.clone(),
757 fetch_permit: self.fetch_permit.clone(),
758 structured_part_audit: self.structured_part_audit.clone(),
759 fetch_config: self.fetch_config.clone(),
760 _phantom: self._phantom.clone(),
761 }
762 }
763}
764
765/// [FetchedPart] but with an accompanying permit from the fetch mem/disk

Callers 12

fetch_leased_partMethod · 0.45
missing_blob_diagnosticsFunction · 0.45
fetch_leased_partFunction · 0.45
fetch_batch_part_blobFunction · 0.45
decode_batch_part_blobFunction · 0.45
fetch_batch_partFunction · 0.45
parse_internalMethod · 0.45
newMethod · 0.45
fetchMethod · 0.45
normalizeMethod · 0.45

Calls 1

cloneFunction · 0.85

Tested by

no test coverage detected