mirror of
https://github.com/actix/actix-web.git
synced 2025-01-20 14:08:07 +00:00
commit
6f1836f80e
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ We can send `CreateUser` message to `DbExecutor` actor, and as result we get
|
||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
impl Handler<CreateUser> for DbExecutor {
|
impl Handler<CreateUser> for DbExecutor {
|
||||||
type Result = Result<User, Error>
|
type Result = Result<User, Error>;
|
||||||
|
|
||||||
fn handle(&mut self, msg: CreateUser, _: &mut Self::Context) -> Self::Result
|
fn handle(&mut self, msg: CreateUser, _: &mut Self::Context) -> Self::Result
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue