[−][src]Trait jsonrpc_v2::Method
Required methods
fn handle(
&self,
req: &WrappedRequestObject<S>
) -> Box<dyn Future<Item = Box<dyn ErasedSerialize + Send>, Error = Error>>
&self,
req: &WrappedRequestObject<S>
) -> Box<dyn Future<Item = Box<dyn ErasedSerialize + Send>, Error = Error>>
Implementors
impl<T, S, P> Method<S> for With<T, S, P> where
T: FromRequest<S> + 'static,
P: DeserializeOwned,
P: 'static + Send + Sync,
S: 'static + Send + Sync,
[src]
T: FromRequest<S> + 'static,
P: DeserializeOwned,
P: 'static + Send + Sync,
S: 'static + Send + Sync,
fn handle(
&self,
req: &WrappedRequestObject<S>
) -> Box<dyn Future<Item = Box<dyn ErasedSerialize + Send>, Error = Error>>
[src]
&self,
req: &WrappedRequestObject<S>
) -> Box<dyn Future<Item = Box<dyn ErasedSerialize + Send>, Error = Error>>