Trait twitch_api2::client::Client[][src]

pub trait Client<'a>: Send + 'a {
    type Error: Error + Send + Sync + 'static;
    fn req(
        &'a self,
        request: Req
    ) -> BoxedFuture<'a, Result<Response, <Self as Client<'_>>::Error>>; }
This is supported on crate feature client only.
Expand description

A client that can do requests

Associated Types

Error returned by the client

Required methods

Send a request

Implementations on Foreign Types

Implementors