pub struct StorageManager { /* private fields */ }
Expand description
Main storage manager that coordinates different storage backends
Implementations§
Source§impl StorageManager
impl StorageManager
Sourcepub async fn new(config: StorageConfig) -> Result<Self>
pub async fn new(config: StorageConfig) -> Result<Self>
Create a new storage manager with the specified configuration
Sourcepub fn graph(&self) -> &dyn GraphStorage
pub fn graph(&self) -> &dyn GraphStorage
Get a reference to the graph storage
Sourcepub fn cache(&self) -> &LruCacheStorage
pub fn cache(&self) -> &LruCacheStorage
Get a reference to the cache storage
Sourcepub fn analysis(&self) -> &dyn AnalysisStorage
pub fn analysis(&self) -> &dyn AnalysisStorage
Get a reference to the analysis storage
Sourcepub fn config(&self) -> &StorageConfig
pub fn config(&self) -> &StorageConfig
Get the storage configuration
Sourcepub async fn maintenance(&self) -> Result<()>
pub async fn maintenance(&self) -> Result<()>
Perform maintenance operations (cleanup, optimization, etc.)
Auto Trait Implementations§
impl Freeze for StorageManager
impl !RefUnwindSafe for StorageManager
impl Send for StorageManager
impl Sync for StorageManager
impl Unpin for StorageManager
impl !UnwindSafe for StorageManager
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