You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0310]: the parameter type `AsyncTrait` may not live long enough
--> jcpc/src/interface.rs:82:13
|
15 | / #[async_trait]
16 | | pub trait JoyCon: Sync + Send {
| |_ help: consider adding an explicit lifetime bound...: `AsyncTrait: 'static +`
...
82 | tokio::spawn(async move {
| ^^^^^^^^^^^^ ...so that the type `impl std::future::Future` will meet its required lifetime bounds
error: aborting due to previous error
For more information about this error, try `rustc --explain E0310`.
error: could not compile `jcpc`.
To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered:
Seems related to #11
The text was updated successfully, but these errors were encountered: