Struct bitcoin_bdb::BerkeleyEnvironment
source · pub struct BerkeleyEnvironment { /* private fields */ }Implementations§
source§impl BerkeleyEnvironment
impl BerkeleyEnvironment
pub fn is_mock(&self) -> bool
pub fn is_initialized(&self) -> bool
pub fn directory(&self) -> Box<Path>
pub fn txn_begin(&mut self, flags: Option<i32>) -> *mut DbTxn
pub fn close_db(&mut self, str_file: &String)
pub fn reload_db_env(&mut self)
pub fn close(&mut self)
pub fn reset(&mut self)
pub fn new(dir_path: Box<&Path>) -> Self
pub fn open(&mut self, err: &mut BilingualStr) -> bool
pub fn checkpointlsn(&mut self, str_file: &String)
pub fn flush(&mut self, shutdown: bool)
Trait Implementations§
source§impl Default for BerkeleyEnvironment
impl Default for BerkeleyEnvironment
Auto Trait Implementations§
impl !RefUnwindSafe for BerkeleyEnvironment
impl Send for BerkeleyEnvironment
impl Sync for BerkeleyEnvironment
impl Unpin for BerkeleyEnvironment
impl !UnwindSafe for BerkeleyEnvironment
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more