Struct elastic_responses::CommandResponse
[−]
[src]
pub struct CommandResponse { /* fields omitted */ }
A standard command acknowledgement response.
Methods
impl CommandResponse
[src]
fn acknowledged(&self) -> bool
Whether or not the request was acknowledged.
This doesn't necessarily mean the request has been fully processed.
Trait Implementations
impl Debug for CommandResponse
[src]
impl Clone for CommandResponse
[src]
fn clone(&self) -> CommandResponse
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl IsOk for CommandResponse
[src]
fn is_ok<B: ResponseBody>(
head: HttpResponseHead,
body: Unbuffered<B>
) -> Result<MaybeOkResponse<B>, ParseResponseError>
head: HttpResponseHead,
body: Unbuffered<B>
) -> Result<MaybeOkResponse<B>, ParseResponseError>
Inspect the http response to determine whether or not it succeeded.