Struct kv::Manager

source ·
pub struct Manager { /* private fields */ }
Expand description

A process is only permitted to have one open handle to each database. This manager exists to enforce that constraint: don’t open databases directly.

Implementations

Create a new store manager

Return the open store at path, returning None if it has not already been opened.

Return the open store at cfg.path, or create it using the given config.

Load a store from a configuration file

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.