pub struct SharedWorkspacePool { /* private fields */ }Expand description
Thread-safe workspace pool.
Implementations§
Sourcepub fn new(config: WorkspaceConfig) -> Self
pub fn new(config: WorkspaceConfig) -> Self
Create a new shared workspace pool.
Sourcepub fn stats(&self) -> WorkspaceStats
pub fn stats(&self) -> WorkspaceStats
Get statistics.
Sourcepub fn defragment(&self) -> DefragmentationResult
pub fn defragment(&self) -> DefragmentationResult
Perform defragmentation.
Trait Implementations§
Auto Trait Implementations§
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