pub struct WorkspaceSettings {
pub dir: Option<PathBuf>,
pub limits: WorkspaceLimits,
}Expand description
The [workspace] section: where a directory of named databases lives, and
how many of them to keep open.
Fields§
§dir: Option<PathBuf>[workspace].dir, if set. Unset is the default and means there is no
workspace: one database, addressed by path, exactly as before.
limits: WorkspaceLimitsPool limits, defaulted when the section omits them.
Trait Implementations§
Source§impl Clone for WorkspaceSettings
impl Clone for WorkspaceSettings
Source§fn clone(&self) -> WorkspaceSettings
fn clone(&self) -> WorkspaceSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WorkspaceSettings
impl Debug for WorkspaceSettings
impl Eq for WorkspaceSettings
Source§impl PartialEq for WorkspaceSettings
impl PartialEq for WorkspaceSettings
impl StructuralPartialEq for WorkspaceSettings
Auto Trait Implementations§
impl Freeze for WorkspaceSettings
impl RefUnwindSafe for WorkspaceSettings
impl Send for WorkspaceSettings
impl Sync for WorkspaceSettings
impl Unpin for WorkspaceSettings
impl UnsafeUnpin for WorkspaceSettings
impl UnwindSafe for WorkspaceSettings
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.