You can pass the mutex by value and it does continue to protect its value.
https://play.rust-lang.org/?version=stable&mode=debug&editio...