Hey! I’m trying to make a log parser that performs async HTTP requests when it gets a
LogResult struct. I’m very new to Rust. I’ve tried a bunch of things. This is where I’m currently at: https://gist.github.com/brigand/f862c01374059e809741251d28760f22
I had everything working until I tried to add the http request. I could do
rx.for_each and log the
LogResult structs. Now I’m running into issues with the
write_record function and the future it needs to return.
From what I’ve read, I’m supposed to return a
Box of the future from
write_record, but I can’t figure out how to pass it to
Any help would be appreciated!