pub struct SledConfig {
pub path: PathBuf,
pub flush_on_write: bool,
pub encryption_enabled: bool,
pub key_id: Option<String>,
}Fields§
§path: PathBuf§flush_on_write: bool§encryption_enabled: bool§key_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SledConfig
impl Clone for SledConfig
Source§fn clone(&self) -> SledConfig
fn clone(&self) -> SledConfig
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 moreAuto Trait Implementations§
impl Freeze for SledConfig
impl RefUnwindSafe for SledConfig
impl Send for SledConfig
impl Sync for SledConfig
impl Unpin for SledConfig
impl UnsafeUnpin for SledConfig
impl UnwindSafe for SledConfig
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