Specify a bit on why it works

This commit is contained in:
Marcel Müller
2016-10-23 16:49:13 +02:00
parent 3083d5e6c7
commit 4349e174a5
+9
View File
@@ -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/