Trait rs_es::EsResponse
[−]
[src]
pub trait EsResponse {
fn status_code<'a>(&'a self) -> &'a StatusCode;
fn read_response<R>(self) -> Result<R, EsError> where R: Deserialize;
}
Required Methods
fn status_code<'a>(&'a self) -> &'a StatusCode
fn read_response<R>(self) -> Result<R, EsError> where R: Deserialize
Implementors
impl EsResponse for Response