Trait cakerabbit_core::Service[][src]

pub trait Service: Send {
    type RequestFuture: Future<Output = Result<Value, Value>> + 'static + Send;
    fn handle_request(
        &mut self,
        method: &str,
        params: &[Value]
    ) -> Self::RequestFuture;
fn handle_notification(&mut self, method: &str, params: &[Value]); }

Associated Types

Required methods

Implementors