Type Alias mongocrypt_sys::mongocrypt_t

source ·
pub type mongocrypt_t = _mongocrypt_t;
Expand description

The top-level handle to libmongocrypt.

Create a mongocrypt_t handle to perform operations within libmongocrypt: encryption, decryption, registering log callbacks, etc.

Functions on a mongocrypt_t are thread safe, though functions on derived handles (e.g. mongocrypt_ctx_t) are not and must be owned by a single thread. See each handle’s documentation for thread-safety considerations.

Multiple mongocrypt_t handles may be created.

Aliased Type§

struct mongocrypt_t { /* private fields */ }