infrarust 1.6.1

A Rust universal Minecraft proxy
Documentation
1
2
3
4
5
6
7
8
9
10
11
use tokio::sync::mpsc;
pub mod client;
pub mod server;
pub mod supervisor;

pub trait Actor<T> {
    fn new(sender: mpsc::Receiver<T>, id: String) -> Self
    where
        Self: Sized;
    fn handle_message(&mut self, message: T);
}