Struct lightspeed_file_store::FileStoreModule
source · pub struct FileStoreModule<RepoManager: DBFileStoreRepositoryManager> {
pub config: FileStoreConfig,
pub repo_manager: RepoManager,
pub file_store_service: Arc<FileStoreService<RepoManager>>,
}
Fields§
§config: FileStoreConfig
§repo_manager: RepoManager
§file_store_service: Arc<FileStoreService<RepoManager>>
Implementations§
source§impl<RepoManager: DBFileStoreRepositoryManager> FileStoreModule<RepoManager>
impl<RepoManager: DBFileStoreRepositoryManager> FileStoreModule<RepoManager>
pub fn new( repo_manager: RepoManager, config: FileStoreConfig ) -> Result<Self, LightSpeedError>
Trait Implementations§
source§impl<RepoManager: Clone + DBFileStoreRepositoryManager> Clone for FileStoreModule<RepoManager>
impl<RepoManager: Clone + DBFileStoreRepositoryManager> Clone for FileStoreModule<RepoManager>
source§fn clone(&self) -> FileStoreModule<RepoManager>
fn clone(&self) -> FileStoreModule<RepoManager>
Returns a copy 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<RepoManager: DBFileStoreRepositoryManager> Module for FileStoreModule<RepoManager>
impl<RepoManager: DBFileStoreRepositoryManager> Module for FileStoreModule<RepoManager>
Auto Trait Implementations§
impl<RepoManager> RefUnwindSafe for FileStoreModule<RepoManager>where
RepoManager: RefUnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::C3P0: RefUnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::FileStoreBinaryRepo: RefUnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::FileStoreDataRepo: RefUnwindSafe,
impl<RepoManager> Send for FileStoreModule<RepoManager>
impl<RepoManager> Sync for FileStoreModule<RepoManager>
impl<RepoManager> Unpin for FileStoreModule<RepoManager>where
RepoManager: Unpin,
impl<RepoManager> UnwindSafe for FileStoreModule<RepoManager>where
RepoManager: UnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::C3P0: RefUnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::FileStoreBinaryRepo: RefUnwindSafe,
<RepoManager as DBFileStoreRepositoryManager>::FileStoreDataRepo: RefUnwindSafe,
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