fabaccess-bffh/bffhd/capnp/user_system.rs

36 lines
594 B
Rust
Raw Normal View History

use capnp::capability::Promise;
use capnp::Error;
use capnp_rpc::pry;
use api::usersystem_capnp::user_system::{
Server as UserSystem,
info, info::Server as InfoServer,
manage, manage::Server as ManageServer,
};
2022-03-12 17:31:53 +01:00
use crate::authorization::AuthorizationHandle;
use crate::session::SessionHandle;
#[derive(Debug, Clone)]
pub struct Users {
2022-03-12 17:31:53 +01:00
session: SessionHandle,
}
impl Users {
2022-03-12 17:31:53 +01:00
pub fn new(session: SessionHandle) -> Self {
Self {
2022-03-12 17:31:53 +01:00
session,
}
}
}
impl UserSystem for Users {
}
impl InfoServer for Users {
}
impl ManageServer for Users {
}