actix-derive
actix-derive copied to clipboard
[ARCHIVED] development moved into main actix repo
What about using `()` as the default result type? Currently I need to use a lot of boilerplate code with the `rtype` attribute, like this: ```rust #[derive(Message, Debug)] #[rtype(result =...
Should we add a custom derive for the `Actor` trait? ```rust #[derive(Actor)] struct SumActor; ``` Which expands to: ```rust impl Actor for SumActor { type Context = Context; } ```
I implemented a `#[handler]` macro to allow you to tag functions as a handler for a type, and generate the necessary code implementing the `Handler` trait for the type. Is...