(&self, id: Id)
| 5 | |
| 6 | pub trait Handler: Sized + Send + Sync + 'static { |
| 7 | fn invalid_params(&self, id: Id) -> Message { |
| 8 | Message::Response(Response::Err(id, ErrorCode::InvalidParams, "InvalidParams".into(), Value::Null)) |
| 9 | } |
| 10 | |
| 11 | fn method_not_found(&self, id: Id) -> Message { |
| 12 | Message::Response(Response::Err(id, ErrorCode::MethodNotFound, "MethodNotFound".into(), Value::Null)) |
no test coverage detected