Struct jsonrpc_http_server::Rpc [−][src]
pub struct Rpc<M: Metadata = (), S: Middleware<M> = Noop> { pub handler: Arc<MetaIoHandler<M, S>>, pub extractor: Arc<dyn MetaExtractor<M>>, }
RPC Handler bundled with metadata extractor.
Fields
handler: Arc<MetaIoHandler<M, S>>
RPC Handler
extractor: Arc<dyn MetaExtractor<M>>
Metadata extractor
Implementations
impl<M: Metadata, S: Middleware<M>> Rpc<M, S>
[src]
impl<M: Metadata, S: Middleware<M>> Rpc<M, S>
[src]Trait Implementations
impl<M: Metadata, S: Middleware<M>> Clone for Rpc<M, S>
[src]
impl<M: Metadata, S: Middleware<M>> Clone for Rpc<M, S>
[src]