framework_cqrs_lib::cqrs::core::daosTrait WriteOnlyDAO
Source pub trait WriteOnlyDAO<DBO, ID> {
// Required methods
fn insert<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
entity: &'life1 DBO,
entity_id: &'life2 ID,
) -> Pin<Box<dyn Future<Output = ResultErr<ID>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn update<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 ID,
entity: &'life2 DBO,
) -> Pin<Box<dyn Future<Output = ResultErr<ID>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
}