#[repr(C)]pub struct C4DatabaseConfig2 {
pub parentDirectory: C4Slice,
pub flags: C4DatabaseFlags,
pub encryptionKey: C4EncryptionKey,
}Expand description
Main database configuration struct (version 2) for use with c4db_openNamed etc.
Fields§
§parentDirectory: C4Slice< Directory for databases
flags: C4DatabaseFlags< Flags for opening db, versioning, …
encryptionKey: C4EncryptionKey< Encryption to use creating/opening the db
Trait Implementations§
Source§impl Clone for C4DatabaseConfig2
impl Clone for C4DatabaseConfig2
Source§fn clone(&self) -> C4DatabaseConfig2
fn clone(&self) -> C4DatabaseConfig2
Returns a duplicate 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 C4DatabaseConfig2
impl Debug for C4DatabaseConfig2
impl Copy for C4DatabaseConfig2
Auto Trait Implementations§
impl Freeze for C4DatabaseConfig2
impl RefUnwindSafe for C4DatabaseConfig2
impl !Send for C4DatabaseConfig2
impl !Sync for C4DatabaseConfig2
impl Unpin for C4DatabaseConfig2
impl UnwindSafe for C4DatabaseConfig2
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