fabaccess-bffh/src/api/machines.rs

25 lines
538 B
Rust
Raw Normal View History

2020-11-17 14:15:29 +01:00
use crate::schema::api_capnp::machines;
use capnp::capability::Promise;
use capnp::Error;
struct Machines;
impl machines::Server for Machines {
fn list_machines(&mut self,
_params: machines::ListMachinesParams,
mut results: machines::ListMachinesResults)
-> Promise<(), Error>
{
Promise::ok(())
}
fn get_machine(&mut self,
_params: machines::GetMachineParams,
mut results: machines::GetMachineResults)
-> Promise<(), Error>
{
Promise::ok(())
}
}