pub trait Backend:
Actor
+ Handler<Set>
+ Handler<Get>
+ Handler<Lock>
+ Handler<Delete> {
type Actor: Actor<Context = Self::Context> + Handler<Set> + Handler<Get> + Handler<Lock> + Handler<Delete>;
type Context: ActorContext + ToEnvelope<Self::Actor, Get> + ToEnvelope<Self::Actor, Set> + ToEnvelope<Self::Actor, Lock> + ToEnvelope<Self::Actor, Delete>;
}
Expand description
Required Associated Types§
Sourcetype Actor: Actor<Context = Self::Context> + Handler<Set> + Handler<Get> + Handler<Lock> + Handler<Delete>
type Actor: Actor<Context = Self::Context> + Handler<Set> + Handler<Get> + Handler<Lock> + Handler<Delete>
Type of backend actor bound.
Sourcetype Context: ActorContext + ToEnvelope<Self::Actor, Get> + ToEnvelope<Self::Actor, Set> + ToEnvelope<Self::Actor, Lock> + ToEnvelope<Self::Actor, Delete>
type Context: ActorContext + ToEnvelope<Self::Actor, Get> + ToEnvelope<Self::Actor, Set> + ToEnvelope<Self::Actor, Lock> + ToEnvelope<Self::Actor, Delete>
Type for backend Actor context.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.