forked from AbleOS/ableos
11 lines
244 B
Rust
11 lines
244 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();
|
|
}
|