pub struct HaberyOptions {
pub base: Option<String>,
pub head_dir: Option<PathBuf>,
pub temp: bool,
pub salt: Option<String>,
pub cf: Option<Arc<Configer>>,
pub lax: bool,
}Expand description
Options for Habery::open.
Fields§
§base: Option<String>Optional extra directory level, like keripy’s --base.
head_dir: Option<PathBuf>Root directory for the database instead of ~/.keri (absolute paths OK).
temp: boolUse a temporary database (removed on drop) and fast key stretching.
salt: Option<String>qb64 salt for deriving keys. Only used when the keystore is created.
cf: Option<Arc<Configer>>Configuration file (curls, iurls, …).
lax: boolKevery lax mode: true accepts own receipts from any source (witnesses).
Trait Implementations§
Source§impl Default for HaberyOptions
impl Default for HaberyOptions
Source§fn default() -> HaberyOptions
fn default() -> HaberyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HaberyOptions
impl RefUnwindSafe for HaberyOptions
impl Send for HaberyOptions
impl Sync for HaberyOptions
impl Unpin for HaberyOptions
impl UnsafeUnpin for HaberyOptions
impl UnwindSafe for HaberyOptions
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