MCPcopy Create free account
hub / github.com/Commit-Boost/commit-boost-client / BuilderApiState

Interface BuilderApiState

crates/pbs/src/state.rs:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8use parking_lot::RwLock;
9
10pub trait BuilderApiState: Clone + Sync + Send + 'static {}
11impl BuilderApiState for () {}
12
13pub type PbsStateGuard<S> = Arc<RwLock<PbsState<S>>>;

Callers

nothing calls this directly

Implementers 2

main.rsexamples/status_api/src/main.rs
state.rscrates/pbs/src/state.rs

Calls

no outgoing calls

Tested by

no test coverage detected