[−][src]Trait lightspeed_cms::repository::CmsRepositoryManager
Associated Types
type Conn: SqlConnectionAsync
type C3P0: C3p0PoolAsync<Conn = Self::Conn>
type ContentRepo: ContentRepository<Conn = Self::Conn>
type ProjectRepo: ProjectRepository<Conn = Self::Conn>
type SchemaRepo: SchemaRepository<Conn = Self::Conn>
Required methods
fn c3p0(&self) -> &Self::C3P0
#[must_use]fn start<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn content_repo(&self, qualified_table_name: &str) -> Self::ContentRepo
fn project_repo(&self) -> Self::ProjectRepo
fn schema_repo(&self) -> Self::SchemaRepo
Implementors
impl CmsRepositoryManager for PgCmsRepositoryManager
[src]
type Conn = PgConnectionAsync
type C3P0 = PgC3p0PoolAsync
type ContentRepo = PgContentRepository
type ProjectRepo = PgProjectRepository
type SchemaRepo = PgSchemaRepository
fn c3p0(&self) -> &PgC3p0PoolAsync
[src]
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]
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<(), LightSpeedError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,