objtalk 0.3.0

a lightweight realtime database for IoT projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::server::Object;

#[cfg(feature = "sqlite-backend")]
pub mod sqlite;

pub trait Storage {
	fn get_objects(&self) -> Vec<Object>;
	fn add_object(&self, object: Object);
	fn change_object(&self, object: Object);
	fn remove_object(&self, object: Object);
}