working????

This commit is contained in:
2025-07-14 21:29:24 -04:00
parent dbba095e22
commit b3b813b092

View File

@ -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,