Type Alias mongocrypt_sys::mongocrypt_status_t

source ·
pub type mongocrypt_status_t = _mongocrypt_status_t;
Expand description

Indicates success or contains error information.

Functions like @ref mongocrypt_ctx_encrypt_init follow a pattern to expose a status. A boolean is returned. True indicates success, and false indicates failure. On failure a status on the handle is set, and is accessible with a corresponding (handle)_status function. E.g. @ref mongocrypt_ctx_status.

Aliased Type§

struct mongocrypt_status_t { /* private fields */ }