Hello,
I'm trying to copy a TLS stream (native-tls) but since that is not allowed I'm not sure how to continue.
I want to be able to have a loop in a thread that reads the messages and to be able to share the TLS stream in a struct to write messages to it from other places.
What would be the best way to do this?