pub struct WalletEnvDbConfig { /* private fields */ }Expand description
Database directory configuration for a specific wallet environment.
Implementations§
Source§impl WalletEnvDbConfig
impl WalletEnvDbConfig
Sourcepub fn new(wallet_env: WalletEnv, lexe_data_dir: PathBuf) -> Self
pub fn new(wallet_env: WalletEnv, lexe_data_dir: PathBuf) -> Self
Construct a new WalletEnvDbConfig from the wallet environment and
base data directory.
Sourcepub fn lexe_data_dir(&self) -> &PathBuf
pub fn lexe_data_dir(&self) -> &PathBuf
The top-level, root, base data directory for Lexe-related data.
Sourcepub fn env_db_dir(&self) -> &PathBuf
pub fn env_db_dir(&self) -> &PathBuf
The database directory for this wallet environment.
Trait Implementations§
Source§impl Clone for WalletEnvDbConfig
impl Clone for WalletEnvDbConfig
Source§fn clone(&self) -> WalletEnvDbConfig
fn clone(&self) -> WalletEnvDbConfig
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 WalletEnvDbConfig
impl RefUnwindSafe for WalletEnvDbConfig
impl Send for WalletEnvDbConfig
impl Sync for WalletEnvDbConfig
impl Unpin for WalletEnvDbConfig
impl UnwindSafe for WalletEnvDbConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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