i followed the tutorial in the docs and copied and pasted the example code and the compiler shows a red squiggly line under sys.actor_of with following error :
the trait bound MyActor: Default is not satisfied required because of the requirements on the impl of ActorFactory for MyActor
PS : and even after i implemented the ActorFactory trait and run the project the thread panics
Linux mint 19.1
rustc1.51.0
stable-x86_64-unknown-linux-gnu (default)
cargo 1.51.1
rustup 1.24.1
i followed the tutorial in the docs and copied and pasted the example code and the compiler shows a red squiggly line under
sys.actor_ofwith following error :the trait bound MyActor: Default is not satisfied required because of the requirements on the impl of ActorFactory for MyActorPS : and even after i implemented the ActorFactory trait and run the project the thread panics
Linux mint 19.1
rustc1.51.0
stable-x86_64-unknown-linux-gnu (default)
cargo 1.51.1
rustup 1.24.1