use tetsy_jsonrpc_derive::rpc; #[rpc] pub trait Rpc { /// Returns a protocol version #[rpc] fn protocol_version(&self) -> Result; } fn main() {}