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§
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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".