sealrs 0.13.2

Set of classic asynchronous primitives (Actors, Executors, Futures / Promises)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Empty actor stub for service needs
//!
//! For example, he is used for construct ActorCell of the DeadLetters.
use crate::actors::actor::{Actor, HandleResult};
use crate::actors::message::Message;
use crate::actors::actor_context::ActorContext;

pub struct SyntheticActor {}

impl Actor for SyntheticActor {
    fn receive(self: &mut Self, _msg: Message, _ctx: ActorContext) -> HandleResult {
        unimplemented!()
    }
}