Struct ckb_rocksdb::TemporaryDBPath
source · pub struct TemporaryDBPath { /* private fields */ }
Expand description
Ensures that DB::Destroy is called and the directory is deleted for this database when TemporaryDBPath is dropped.
Implementations§
Trait Implementations§
source§impl AsRef<Path> for TemporaryDBPath
impl AsRef<Path> for TemporaryDBPath
source§impl Default for TemporaryDBPath
impl Default for TemporaryDBPath
source§fn default() -> TemporaryDBPath
fn default() -> TemporaryDBPath
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TemporaryDBPath
impl Send for TemporaryDBPath
impl Sync for TemporaryDBPath
impl Unpin for TemporaryDBPath
impl UnwindSafe for TemporaryDBPath
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