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
You are correct, it's not possible to define &mut self handlers within the proc macro API and I'm not sure how difficult it's to support because it may not satisfy trait bounds for async code with mutual borrows etc.
Can you explain what you want to do which doesn't work for right now?
I don't think there is a way around in the proc macros API but works if you register the methods yourself.
Is it possible to define method handlers with the RPC proc macro that are
mut self
?E.g.
method(&mut self, param: T)
The text was updated successfully, but these errors were encountered: