[][src]Trait rs_jsonrpc_http_server::MetaExtractor

pub trait MetaExtractor<M: Metadata>: Sync + Send + 'static {
    fn read_metadata(&self, _: &Request) -> M { ... }
}

Extracts metadata from the HTTP request.

Provided methods

fn read_metadata(&self, _: &Request) -> M

Read the metadata from the request

Loading content...

Implementors

impl<M, F> MetaExtractor<M> for F where
    M: Metadata,
    F: Fn(&Request) -> M + Sync + Send + 'static, 
[src]

Loading content...