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::Error>>; }
This is supported on crate feature
client
only.A client that can do requests
Associated Types
Loading content...Required methods
Loading content...Implementations on Foreign Types
impl<'a> Client<'a> for ReqwestClient
[src]
impl<'a> Client<'a> for ReqwestClient
[src]This is supported on crate feature
reqwest_client
only.impl<'a> Client<'a> for SurfClient
[src]
impl<'a> Client<'a> for SurfClient
[src]This is supported on crate feature
surf_client
only.Implementors
impl<'a> Client<'a> for DummyHttpClient
[src]
impl<'a> Client<'a> for DummyHttpClient
[src]