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 Freeze for TemporaryDBPath
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