[][src]Struct lightspeed_file_store::FileStoreModule

pub struct FileStoreModule<RepoManager: DBFileStoreRepositoryManager> {
    pub config: FileStoreConfig,
    pub repo_manager: RepoManager,
    pub file_store_service: Arc<FileStoreService<RepoManager>>,
}

Fields

config: FileStoreConfigrepo_manager: RepoManagerfile_store_service: Arc<FileStoreService<RepoManager>>

Implementations

impl<RepoManager: DBFileStoreRepositoryManager> FileStoreModule<RepoManager>[src]

pub fn new(
    repo_manager: RepoManager,
    config: FileStoreConfig
) -> Result<Self, LightSpeedError>
[src]

Trait Implementations

impl<RepoManager: Clone + DBFileStoreRepositoryManager> Clone for FileStoreModule<RepoManager>[src]

impl<RepoManager: DBFileStoreRepositoryManager> Module for FileStoreModule<RepoManager>[src]

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
[src]

impl<RepoManager> Send for FileStoreModule<RepoManager> where
    <RepoManager as DBFileStoreRepositoryManager>::C3P0: Send + Sync,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreBinaryRepo: Send + Sync,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreDataRepo: Send + Sync
[src]

impl<RepoManager> Sync for FileStoreModule<RepoManager> where
    <RepoManager as DBFileStoreRepositoryManager>::C3P0: Send + Sync,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreBinaryRepo: Send + Sync,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreDataRepo: Send + Sync
[src]

impl<RepoManager> Unpin for FileStoreModule<RepoManager> where
    RepoManager: Unpin
[src]

impl<RepoManager> UnwindSafe for FileStoreModule<RepoManager> where
    RepoManager: UnwindSafe,
    <RepoManager as DBFileStoreRepositoryManager>::C3P0: RefUnwindSafe,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreBinaryRepo: RefUnwindSafe,
    <RepoManager as DBFileStoreRepositoryManager>::FileStoreDataRepo: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,