Convert hyper::Body to String

Wow...that works... THANK YOU A LOT !

I am interested. How would I do it ?

It would by using the failure crate right ?

Error handling is well covered in The Rust Programming Language. The original code I posted uses Box<dyn Error> as an example.

I'm personally not a huge fan of that crate, but I also haven't used it extensively. I've listed a few crates that help with defining your own error type:

I personally like quick-error.

1 Like

Thanks again for the time and patience you put to solve my problem with your knowledge !