Skip to main content

ProjectManager

Trait ProjectManager 

Source
pub trait ProjectManager: Send + Sync {
    // Required methods
    fn list(&self) -> Vec<Project>;
    fn get(&self, id: &ProjectId) -> Option<Project>;
    fn upsert(&self, project: &Project);
    fn overview(&self, id: &ProjectId) -> Option<ProjectOverview>;
    fn status_report(&self) -> StatusReport;
}

Required Methods§

Source

fn list(&self) -> Vec<Project>

Source

fn get(&self, id: &ProjectId) -> Option<Project>

Source

fn upsert(&self, project: &Project)

Source

fn overview(&self, id: &ProjectId) -> Option<ProjectOverview>

Source

fn status_report(&self) -> StatusReport

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§