Trait elastic_reqwest::ElasticClient [] [src]

pub trait ElasticClient {
    fn elastic_req<I, B>(&self,
                         params: &RequestParams,
                         req: I)
                         -> Result<Response, Error> where I: Into<HttpRequest<'static, B>>, B: IntoReqwestBody; }

Represents a client that can send Elasticsearch requests.

Required Methods

Send a request and get a response.

Implementors