From 4349e174a5e6fb83ba37dbc5e75ce3714afeb461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Sun, 23 Oct 2016 16:49:13 +0200 Subject: [PATCH] Specify a bit on why it works --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 5a959c3..7fe0cf3 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,15 @@ fn main() { } ``` +How it works +------------ + +Internally the Database holds a Hashmap behind a RwLock. +This Hashmap is then written to/read from and safely casted to the requested +type. This works thanks to encoding/decoding traits. + + + [doc]:http://neikos.me/rustbreak/rustbreak/index.html [Daybreak]:https://propublica.github.io/daybreak/