working????
This commit is contained in:
@ -52,7 +52,7 @@ pub fn http_response(_attr: TokenStream, item: TokenStream) -> TokenStream {
|
||||
Self: Sized + Send,
|
||||
{
|
||||
async fn receive(mut resp: actix_web::ClientResponse) -> Result<Self, Box<dyn std::error::Error>> {
|
||||
let body = resp.body().await?;
|
||||
let body = resp.body().await?; // Bytes, sized!
|
||||
#(#variant_arms)*
|
||||
Err(Box::new(std::io::Error::new(
|
||||
std::io::ErrorKind::Other,
|
||||
|
Reference in New Issue
Block a user