oskr 1.0.0-rc.5

High performance distributed works collection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::{
    common::{OpNumber, Opaque},
    facade,
};

#[derive(Debug, Default)]
pub struct App {
    //
}

impl facade::App for App {
    fn execute(&mut self, _op_number: OpNumber, op: Opaque) -> Opaque {
        let mut result = b"reply: ".to_vec();
        result.extend_from_slice(&op);
        result
    }
}