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;
use mm1_proto_system as system;

pub trait Watching {
    fn watch(&mut self, peer: Address) -> impl Future<Output = system::WatchRef> + Send;
    fn unwatch(&mut self, watch_ref: system::WatchRef) -> impl Future<Output = ()> + Send;
}