I hava a following requirement which is standard in other programming languages but I don\'t know how to do in Rust.
I have a class, I want to write a method to spawn