(
&self,
myself: ActorRef<Self::Msg>,
message: Self::Msg,
state: &mut Self::State,
)
| 92 | } |
| 93 | |
| 94 | async fn handle( |
| 95 | &self, |
| 96 | myself: ActorRef<Self::Msg>, |
| 97 | message: Self::Msg, |
| 98 | state: &mut Self::State, |
| 99 | ) -> Result<(), ActorProcessingErr> { |
| 100 | match message { |
| 101 | WsMessage::Hb => { |
| 102 | self.handle_hb(state, &myself).await?; |
| 103 | } |
| 104 | |
| 105 | WsMessage::Ws(msg) => { |
| 106 | self.handle_ws_msg(msg, state, myself).await?; |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | Ok(()) |
| 111 | } |
| 112 | } |
no test coverage detected