Struct jfs::Store [] [src]

pub struct Store { /* fields omitted */ }

Methods

impl Store
[src]

[src]

Opens a Store against the specified path.

See new_with_cfg(..) for more details

Arguments

  • path - path to the db directory of JSON documents

[src]

Opens a Store against the specified path with the given configuration

If the Store already exists, it will be opened, otherwise this has the side-effect of creating the new Store and the backing directories and files.

Arguments

  • path - path to the db directory of JSON documents, if configured for single db mode then .json will be used as the extension (replacing any existing extension)
  • cfg - configuration for the DB instance

[src]

Returns the storage path for the backing JSON store.

In single-file-mode this will be the JSON file location, otherwise it's the directory in which all JSON objects are stored.

[src]

[src]

[src]

[src]

[src]

Trait Implementations

impl Clone for Store
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Store

impl Sync for Store