pub enum DatabasePath {
Memory,
File(PathBuf),
}Expand description
Database path configuration.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for DatabasePath
impl Clone for DatabasePath
Source§fn clone(&self) -> DatabasePath
fn clone(&self) -> DatabasePath
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DatabasePath
impl Debug for DatabasePath
Source§impl Default for DatabasePath
impl Default for DatabasePath
Source§fn default() -> DatabasePath
fn default() -> DatabasePath
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DatabasePath
impl RefUnwindSafe for DatabasePath
impl Send for DatabasePath
impl Sync for DatabasePath
impl Unpin for DatabasePath
impl UnwindSafe for DatabasePath
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