pub struct EnvBuilder { /* private fields */ }
Expand description

Constructs environment with settigs which couldn’t be changed after opening. By default it tries to create corresponding dir if it doesn’t exist, use autocreate_dir() to override that behavior

Implementations

Sets environment flags

Sets max concurrent readers operating on environment

Set max number of databases

Sets max environment size, i.e. size in memory/disk of all data

Sets whetever lmdb-rs should try to autocreate dir with default permissions on opening (default is true)

Opens environment in specified path

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. 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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.