Skip to main content

MeetingCompletionCheckerPort

Trait MeetingCompletionCheckerPort 

Source
pub trait MeetingCompletionCheckerPort: Send + Sync {
    // Required method
    fn build_checklist<'life0, 'async_trait>(
        &'life0 self,
        meeting_id: Uuid,
    ) -> Pin<Box<dyn Future<Output = Result<MeetingCompletionChecklist, String>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn build_checklist<'life0, 'async_trait>( &'life0 self, meeting_id: Uuid, ) -> Pin<Box<dyn Future<Output = Result<MeetingCompletionChecklist, String>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Construit la checklist Art. 3.87 §3-5 CC pour le meeting donné.

Retourne Err(String) si :

  • le meeting n’existe pas (ou est soft-deleted).
  • la query DB échoue (timeout, contrainte, etc.).

Pas de side-effect : pure read-only.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§