Open vsilent opened 3 years ago
Hands-On-Microservices-with-Rust/Chapter12
2 | use actix::fut::wrap_future; | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default error[E0277]: the trait bound `queue_actor::QueueActor<T>: actix::Actor` is not satisfied --> src/queue_actor.rs:41:59 | 41 | pub fn new(handler: T, mut sys: &mut SystemRunner) -> Result<Addr<Self>, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `actix::Actor` is not implemented for `queue_actor::QueueActor<T>` | :::~l/.cargo/registry/src/github.com-1ecc6299db9ec823/actix-0.10.0/src/address/mod.rs:72:20 | 72 | pub struct Addr<A: Actor> { | ----- required by this bound in `actix::Addr`
Additionally, [
](url)
Hands-On-Microservices-with-Rust/Chapter12