pub struct LMDBerBuilder { /* private fields */ }Implementations§
Source§impl LMDBerBuilder
impl LMDBerBuilder
pub fn name(self, name: impl Into<String>) -> Self
pub fn temp(self, temp: bool) -> Self
pub fn reopen(self, reopen: bool) -> Self
Sourcepub fn base(self, base: impl Into<String>) -> Self
pub fn base(self, base: impl Into<String>) -> Self
Extra directory level between the db root and name (keripy base).
Sourcepub fn head_dir(self, head_dir: impl Into<PathBuf>) -> Self
pub fn head_dir(self, head_dir: impl Into<PathBuf>) -> Self
Root directory to create the database under instead of the default
(/usr/local/var/keri or ~/.keri).
pub fn build(self) -> Result<LMDBer, DBError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LMDBerBuilder
impl RefUnwindSafe for LMDBerBuilder
impl Send for LMDBerBuilder
impl Sync for LMDBerBuilder
impl Unpin for LMDBerBuilder
impl UnsafeUnpin for LMDBerBuilder
impl UnwindSafe for LMDBerBuilder
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