pub struct WorkspaceCacheConfig {
pub max_files: usize,
pub max_bytes: usize,
}Expand description
Workspace cache configuration.
Optimized for workspace file metadata caching.
Fields§
§max_files: usizeMaximum number of workspace files to cache
max_bytes: usizeMaximum memory for workspace cache in bytes
Trait Implementations§
Source§impl Clone for WorkspaceCacheConfig
impl Clone for WorkspaceCacheConfig
Source§fn clone(&self) -> WorkspaceCacheConfig
fn clone(&self) -> WorkspaceCacheConfig
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 WorkspaceCacheConfig
impl Debug for WorkspaceCacheConfig
Source§impl Default for WorkspaceCacheConfig
impl Default for WorkspaceCacheConfig
Source§fn default() -> WorkspaceCacheConfig
fn default() -> WorkspaceCacheConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WorkspaceCacheConfig
impl RefUnwindSafe for WorkspaceCacheConfig
impl Send for WorkspaceCacheConfig
impl Sync for WorkspaceCacheConfig
impl Unpin for WorkspaceCacheConfig
impl UnsafeUnpin for WorkspaceCacheConfig
impl UnwindSafe for WorkspaceCacheConfig
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