I am not used to rust special types and ownership rules. I wrote this, and would like to know if it's any good. I have not implemented everything I would like to, but it works fine. I have three questions:
- Is this correct way to use
Mutexor is there better way to do this? - I feel like I am cloning too much. Can I avoid it?
- Am I using good coding practices? Code looks kinda messy.
Here is my code: https://pastebin.com/SktTSH5g