mirror of
https://github.com/salsa-rs/salsa.git
synced 2024-11-24 20:20:26 +00:00
0e01067d55
Quickest POC I could create to get some potentially cyclic queries to not panic and instead return a result I could act on. (gluon's module importing need to error on cycles). ``` // Causes `db.query()` to actually return `Result<V, CycleError>` fn query(&self, key: K, key2: K2) -> V; ``` A proper implementation of this would likely return `Result<V, CycleError<(K, K2)>>` or maybe larger changes are needed. cc #6 |
||
---|---|---|
.. | ||
gc | ||
incremental | ||
parallel | ||
storage_varieties | ||
cycles.rs | ||
dyn_trait.rs | ||
interned.rs | ||
lru.rs | ||
macros.rs | ||
no_send_sync.rs | ||
panic_safely.rs | ||
requires.rs | ||
transparent.rs | ||
variadic.rs |