MCPcopy Create free account
hub / github.com/Rustixir/darkbird / Shared

Class Shared

src/darkbird/storage_redis.rs:42–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41#[derive(Debug)]
42struct Shared<K, Doc>
43where
44 Doc: Clone + Send + Sync + 'static,
45 K: Clone
46 + PartialOrd
47 + Ord
48 + PartialEq
49 + Eq
50 + Hash
51 + Send
52 + 'static
53{
54 state: Mutex<State<K, Doc>>,
55 background_task: Notify,
56}
57
58#[derive(Debug)]
59struct State<K, Doc>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected