lampo-jsonrpc 0.0.1-alpha.1

Crate that provides a plugin API to give the possibility to implement a plugin in Rust
Documentation
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;
}