Crate bitcoinleveldb_env
source ·Structs
- | An implementation of Env that forwards all | calls to another Env. | | May be useful to clients who wish to override | just part of the functionality of another Env.
Constants
Traits
- | in the c++, we had the following annotated | empty Default impl: | | Return a default environment suitable for the | current operating system. Sophisticated | users may wish to provide their own Env | implementation instead of relying on this | default environment. | | The result of Default() belongs to leveldb | and must never be deleted.
Functions
- | Log the specified data to *info_log | if info_log is non-null. |
- | A utility routine: read contents of | named file into *data |
- | Make the CURRENT file point to the descriptor | file with the specified number. |
- | A utility routine: write “data” to the | named file. |
- | A utility routine: write “data” to the | named file and Sync() it. |