Struct elastic::client::AsyncSender
[−]
[src]
pub struct AsyncSender { /* fields omitted */ }
An asynchronous request sender.
Trait Implementations
impl Clone for AsyncSender
[src]
fn clone(&self) -> AsyncSender
[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 Sender for AsyncSender
[src]
type Body = AsyncBody
The kind of request body this sender accepts.
type Response = Pending
The kind of response this sender produces.
fn send<TRequest, TBody>(
&self,
req: TRequest,
params: &RequestParams
) -> Self::Response where
TRequest: Into<HttpRequest<'static, TBody>>,
TBody: Into<Self::Body>,
[src]
&self,
req: TRequest,
params: &RequestParams
) -> Self::Response where
TRequest: Into<HttpRequest<'static, TBody>>,
TBody: Into<Self::Body>,
Send a request.