pub enum SqlCipherVersion {
V4,
V3,
}Expand description
The SQLCipher default profile detected for a database.
Variants§
V4
SQLCipher 4 defaults: PBKDF2/HMAC-SHA512, 256 000 iterations, 4096-byte
pages, 80-byte reserve.
V3
SQLCipher 3 defaults (or cipher_compatibility = 3): PBKDF2/HMAC-SHA1,
64 000 iterations, 1024-byte pages, 48-byte reserve.
Trait Implementations§
Source§impl Clone for SqlCipherVersion
impl Clone for SqlCipherVersion
Source§fn clone(&self) -> SqlCipherVersion
fn clone(&self) -> SqlCipherVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SqlCipherVersion
Source§impl Debug for SqlCipherVersion
impl Debug for SqlCipherVersion
impl Eq for SqlCipherVersion
Source§impl PartialEq for SqlCipherVersion
impl PartialEq for SqlCipherVersion
impl StructuralPartialEq for SqlCipherVersion
Auto Trait Implementations§
impl Freeze for SqlCipherVersion
impl RefUnwindSafe for SqlCipherVersion
impl Send for SqlCipherVersion
impl Sync for SqlCipherVersion
impl Unpin for SqlCipherVersion
impl UnsafeUnpin for SqlCipherVersion
impl UnwindSafe for SqlCipherVersion
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