Expand description
The DataDir struct defining the kind of data directory the node will contain. Data directory can be either persistent, or temporary.
Variants
Persistent(PathBuf)
Persistent Data Directory
Temporary(TempDir)
Temporary Data Directory
Auto Trait Implementations
impl RefUnwindSafe for DataDir
impl Send for DataDir
impl Sync for DataDir
impl Unpin for DataDir
impl UnwindSafe for DataDir
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more