MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

sdks/rust/src/client_cache.rs:70–76  ·  view source on GitHub ↗
(extra_logging: Option<SharedCell<File>>)

Source from the content-addressed store, hash-verified

68// Can't derive this because the `Row` generic messes us up.
69impl<Row> TableCache<Row> {
70 fn new(extra_logging: Option<SharedCell<File>>) -> Self {
71 Self {
72 entries: Default::default(),
73 unique_indices: Default::default(),
74 extra_logging,
75 }
76 }
77}
78
79type RowEventMap<'r, Row> = HashMap<&'r [u8], &'r Row>;

Callers

nothing calls this directly

Calls 1

newFunction · 0.50

Tested by

no test coverage detected