Trait rs_es::EsResponse [−][src]
pub trait EsResponse { fn status_code(&self) -> &StatusCode; fn read_response<R>(self) -> Result<R, EsError>
where
R: DeserializeOwned; }
Required Methods
fn status_code(&self) -> &StatusCode
fn read_response<R>(self) -> Result<R, EsError> where
R: DeserializeOwned,
R: DeserializeOwned,
Implementations on Foreign Types
impl EsResponse for Response
[src]
impl EsResponse for Response
fn status_code(&self) -> &StatusCode
[src]
fn status_code(&self) -> &StatusCode
fn read_response<R>(self) -> Result<R, EsError> where
R: DeserializeOwned,
[src]
fn read_response<R>(self) -> Result<R, EsError> where
R: DeserializeOwned,