Struct elastic_responses::CommandResponse
[−]
[src]
pub struct CommandResponse { /* fields omitted */ }
A standard command acknowledgement response.
Methods
impl CommandResponse
[src]
pub fn acknowledged(&self) -> bool
[src]
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for CommandResponse
[src]
fn clone(&self) -> CommandResponse
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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>
[src]
head: HttpResponseHead,
body: Unbuffered<B>
) -> Result<MaybeOkResponse<B>, ParseResponseError>
Inspect the http response to determine whether or not it succeeded.