#[repr(C)]pub struct MDB_crypto_funcs {
pub mcf_str2key: MDB_str2key_func,
pub mcf_encfunc: MDB_enc_func,
pub mcf_sumfunc: MDB_sum_func,
pub mcf_keysize: c_int,
pub mcf_esumsize: c_int,
pub mcf_sumsize: c_int,
}Expand description
A structure for dynamically loaded crypto modules.
This is the information that the command line tools expect in order to operate on encrypted or checksummed environments.
Fields§
§mcf_str2key: MDB_str2key_func§mcf_encfunc: MDB_enc_func§mcf_sumfunc: MDB_sum_func§mcf_keysize: c_int< The size of an encryption key, in bytes
mcf_esumsize: c_int< The size of the MAC, for authenticated encryption
mcf_sumsize: c_int< The size of the checksum, for plain checksums
Trait Implementations§
Source§impl Clone for MDB_crypto_funcs
impl Clone for MDB_crypto_funcs
Source§fn clone(&self) -> MDB_crypto_funcs
fn clone(&self) -> MDB_crypto_funcs
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MDB_crypto_funcs
impl Debug for MDB_crypto_funcs
impl Copy for MDB_crypto_funcs
Auto Trait Implementations§
impl Freeze for MDB_crypto_funcs
impl RefUnwindSafe for MDB_crypto_funcs
impl Send for MDB_crypto_funcs
impl Sync for MDB_crypto_funcs
impl Unpin for MDB_crypto_funcs
impl UnwindSafe for MDB_crypto_funcs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more