Struct lockchain_files::DataVault[][src]

pub struct DataVault<T: Body> { /* fields omitted */ }

Represents a vault on disk

Trait Implementations

impl<T: Debug + Body> Debug for DataVault<T>
[src]

Formats the value using the given formatter. Read more

impl<T: Body> Vault<T> for DataVault<T>
[src]

A shared constructor for all vault implementations

Get basic vault metadata

Caches all files from disk to memory

Make sure a single record is loaded

Sync all changes back to the backend

Get a complete record from this vault

Probe if a record is contained

Add a new record to this vault

Delete a record from this vault

Add data to an existing record, overwriting existing fields

Get the (latest) value of a specific record data field

Adds a domain space to the metadata store inside the vault Read more

Returns all records from a meta domain

Entirely replace a meta domain in the store

Set the value of a field inside a domain. Field names must not collide

Get the value of a (unique) field inside a domain

Check if a metadomain exists, regardless of data or depth

Auto Trait Implementations

impl<T> Send for DataVault<T>

impl<T> Sync for DataVault<T> where
    T: Sync