Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example Doesnt Work : Need to implement ActorFactory in the First example from the docs #176

Open
revoltez opened this issue Mar 8, 2022 · 0 comments

Comments

@revoltez
Copy link

revoltez commented Mar 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant