pub struct SqlCipherConfig { /* private fields */ }
Expand description
SQLCipher connection config.
Implementations§
source§impl SqlCipherConfig
impl SqlCipherConfig
sourcepub fn new(key: SqlCipherKey) -> SqlCipherConfig
pub fn new(key: SqlCipherKey) -> SqlCipherConfig
Create a new config with a specific key.
sourcepub fn with_plaintext_header(self, size: u8) -> SqlCipherConfig
pub fn with_plaintext_header(self, size: u8) -> SqlCipherConfig
Adjust the plaintext header size.
Trait Implementations§
source§impl Clone for SqlCipherConfig
impl Clone for SqlCipherConfig
source§fn clone(&self) -> SqlCipherConfig
fn clone(&self) -> SqlCipherConfig
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 moreAuto Trait Implementations§
impl Freeze for SqlCipherConfig
impl RefUnwindSafe for SqlCipherConfig
impl Send for SqlCipherConfig
impl Sync for SqlCipherConfig
impl Unpin for SqlCipherConfig
impl UnwindSafe for SqlCipherConfig
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