mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-23 07:17:55 +01:00
25 lines
538 B
Rust
25 lines
538 B
Rust
|
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(())
|
||
|
}
|
||
|
}
|