ableos-framebuffer/ableos/src/experiments/server.rs
2022-02-18 19:25:54 +01:00

11 lines
268 B
Rust

pub trait Server {
/// Initialize the server and return a number
fn initialize() -> u32;
/// kill the server
fn kill() -> bool;
// put data in the servers outbox
fn send();
// put data in the servers inbox and notify it
fn recieve();
}