[][src]Trait lightspeed_file_store::repository::db::DBFileStoreRepositoryManager

pub trait DBFileStoreRepositoryManager: Clone + Send + Sync {
    type Conn: SqlConnection;
    type C3P0: C3p0Pool<Conn = Self::Conn>;
    type FileStoreBinaryRepo: DBFileStoreBinaryRepository<Conn = Self::Conn>;
    type FileStoreDataRepo: FileStoreDataRepository<Conn = Self::Conn>;
    pub fn c3p0(&self) -> &Self::C3P0;
#[must_use] pub fn start<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
pub fn file_store_binary_repo(&self) -> Self::FileStoreBinaryRepo;
pub fn file_store_data_repo(&self) -> Self::FileStoreDataRepo; }

Associated Types

type Conn: SqlConnection[src]

type C3P0: C3p0Pool<Conn = Self::Conn>[src]

type FileStoreBinaryRepo: DBFileStoreBinaryRepository<Conn = Self::Conn>[src]

type FileStoreDataRepo: FileStoreDataRepository<Conn = Self::Conn>[src]

Loading content...

Required methods

pub fn c3p0(&self) -> &Self::C3P0[src]

#[must_use]pub fn start<'life0, 'async_trait>(
    &'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

pub fn file_store_binary_repo(&self) -> Self::FileStoreBinaryRepo[src]

pub fn file_store_data_repo(&self) -> Self::FileStoreDataRepo[src]

Loading content...

Implementors

impl DBFileStoreRepositoryManager for PgFileStoreRepositoryManager[src]

type Conn = PgConnection

type C3P0 = PgC3p0Pool

type FileStoreBinaryRepo = PgFileStoreBinaryRepository

type FileStoreDataRepo = PgFileStoreDataRepository

Loading content...