pub struct DbKindConductor;Expand description
Specifies the environment used by a Conductor
Trait Implementations§
Source§impl Clone for DbKindConductor
impl Clone for DbKindConductor
Source§fn clone(&self) -> DbKindConductor
fn clone(&self) -> DbKindConductor
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 DbKindT for DbKindConductor
impl DbKindT for DbKindConductor
fn kind(&self) -> DbKind
Source§fn filename_inner(&self) -> PathBuf
fn filename_inner(&self) -> PathBuf
The above provided
filename method attaches the .sqlite3 extension.
Implement this to provide the front part of the database filename.Source§fn if_corrupt_wipe(&self) -> bool
fn if_corrupt_wipe(&self) -> bool
Whether to wipe the database if it is corrupt.
Some database it’s safe to wipe them if they are corrupt because
they can be refilled from the network. Other databases cannot
be refilled and some manual intervention is required.
Source§impl Debug for DbKindConductor
impl Debug for DbKindConductor
Source§impl Display for DbKindConductor
impl Display for DbKindConductor
Source§impl Hash for DbKindConductor
impl Hash for DbKindConductor
Source§impl PartialEq for DbKindConductor
impl PartialEq for DbKindConductor
impl Eq for DbKindConductor
impl StructuralPartialEq for DbKindConductor
Auto Trait Implementations§
impl Freeze for DbKindConductor
impl RefUnwindSafe for DbKindConductor
impl Send for DbKindConductor
impl Sync for DbKindConductor
impl Unpin for DbKindConductor
impl UnsafeUnpin for DbKindConductor
impl UnwindSafe for DbKindConductor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.