pub trait DoneHandler<O>:
'static
+ Send
+ FnOnce(Result<Response>) -> Owhere
O: BoundedFuture<()>,{ }Expand description
A function that receives the reqwest::Response and returns it to the application via some means (See examples for way it can be done)
Implementors§
impl<T, O: BoundedFuture<()>> DoneHandler<O> for T
Available on non-WebAssembly only.