Struct rustdb::stg::SimpleFileStorage [−][src]
Expand description
Simple implementation of Storage using std::fs::File
.
Fields
file: Mutex<File>
Implementations
Trait Implementations
Get the size of the underlying storage. Note : this is valid initially and after a commit but is not defined after write is called. Read more
Finish write transaction, size is new size of underlying storage. If prepare is set true, the updates are saved but not applied (for atomic storage). Read more
Write Data slice to storage.