pub trait ResponseHandler<Fut, O>:
Send
+ 'static
+ FnOnce(Result<Response>) -> Futwhere
Fut: BoundedFuture<O>,{ }
Expand description
An async func that accepts a reqwest::Response and returns a generic value
pub trait ResponseHandler<Fut, O>:
Send
+ 'static
+ FnOnce(Result<Response>) -> Futwhere
Fut: BoundedFuture<O>,{ }
An async func that accepts a reqwest::Response and returns a generic value