pub trait WorkHandlers {
// Required methods
fn push(&self, items: &[WorkItem]) -> Verdict;
fn maintenance(&self, item: &WorkItem) -> Verdict;
fn review(&self, item: &WorkItem) -> Verdict;
}Expand description
What runs each kind of work.
Required Methods§
Sourcefn push(&self, items: &[WorkItem]) -> Verdict
fn push(&self, items: &[WorkItem]) -> Verdict
Push the branch of these items, which share a repository and a branch; the last is the newest.
Sourcefn maintenance(&self, item: &WorkItem) -> Verdict
fn maintenance(&self, item: &WorkItem) -> Verdict
Run the repository’s automatic upkeep.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl WorkHandlers for GitHandlers
Trait implementation for the real Git.