pub enum DataDir {
Persistent(PathBuf),
Temporary(TempDir),
}
Expand description
The DataDir struct defining the kind of data directory electrs will use. /// Data directory can be either persistent, or temporary.
Variants§
Auto Trait Implementations§
impl Freeze for DataDir
impl RefUnwindSafe for DataDir
impl Send for DataDir
impl Sync for DataDir
impl Unpin for DataDir
impl UnwindSafe for DataDir
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