pub trait Client<'a>: Send + Sync + 'a {
    type Error: Error + Send + Sync + 'static;

    fn req(
        &'a self,
        request: Request
    ) -> BoxedFuture<'a, Result<Response, <Self as Client<'_>>::Error>>; }
Available on crate feature client only.
Expand description

A client that can do requests

Required Associated Types

Error returned by the client

Required Methods

Send a request

Implementations on Foreign Types

Implementors