MCPcopy Create free account
hub / github.com/actix/examples / AppState

Class AppState

json/jsonrpc/src/main.rs:129–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127
128#[derive(Clone)]
129pub struct AppState {
130 network: Arc<RwLock<dyn ImplNetwork>>,
131}
132
133impl AppState {
134 pub fn new(network: Arc<RwLock<dyn ImplNetwork>>) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected