mm1-core 0.7.23

An Erlang-style actor runtime for Rust.
Documentation
1
2
3
4
5
6
7
use mm1_address::address::Address;

pub trait Linking {
    fn link(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
    fn unlink(&mut self, peer: Address) -> impl Future<Output = ()> + Send;
    fn set_trap_exit(&mut self, enable: bool) -> impl Future<Output = ()> + Send;
}