1 2 3 4 5 6 7 8 9
//! Command Core Definition /// Context Interface used to pass around any /// kind of state that the RPC command will use. pub trait Context: Send + Sync { type Ctx; fn ctx(&self) -> &Self::Ctx; }