2022-03-15 20:00:43 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2022-03-11 22:13:54 +01:00
|
|
|
|
|
|
|
use api::usersystem_capnp::user_system::{
|
2022-03-15 20:00:43 +01:00
|
|
|
Server as UserSystem, info::Server as InfoServer, manage::Server as ManageServer,
|
2022-03-11 22:13:54 +01:00
|
|
|
};
|
2022-03-15 20:00:43 +01:00
|
|
|
|
2022-03-12 17:31:53 +01:00
|
|
|
use crate::session::SessionHandle;
|
2022-03-11 22:13:54 +01:00
|
|
|
|
2022-03-15 19:14:04 +01:00
|
|
|
#[derive(Clone)]
|
2022-03-11 22:13:54 +01:00
|
|
|
pub struct Users {
|
2022-03-12 17:31:53 +01:00
|
|
|
session: SessionHandle,
|
2022-03-11 22:13:54 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
impl Users {
|
2022-03-12 17:31:53 +01:00
|
|
|
pub fn new(session: SessionHandle) -> Self {
|
2022-03-11 22:13:54 +01:00
|
|
|
Self {
|
2022-03-12 17:31:53 +01:00
|
|
|
session,
|
2022-03-11 22:13:54 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
impl UserSystem for Users {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl InfoServer for Users {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
impl ManageServer for Users {
|
|
|
|
|
|
|
|
}
|