Implement more API

This commit is contained in:
Nadja Reitzenstein
2022-03-12 17:31:53 +01:00
parent ee57c2b275
commit 87af5fde94
15 changed files with 341 additions and 52 deletions

32
bffhd/session/mod.rs Normal file
View File

@ -0,0 +1,32 @@
use std::sync::Arc;
struct Inner {
}
impl Inner {
pub fn new() -> Self {
Self { }
}
}
#[derive(Clone)]
pub struct SessionManager {
inner: Arc<Inner>,
}
impl SessionManager {
pub fn new() -> Self {
Self {
inner: Arc::new(Inner::new()),
}
}
pub fn open(&self, uid: impl AsRef<str>) -> Option<SessionHandle> {
unimplemented!()
}
}
#[derive(Clone, Debug)]
pub struct SessionHandle {
}
impl SessionHandle {
}