pub trait TrackerClient: Send + Sync {
// Required methods
fn fetch_candidate_issues<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn fetch_issues_by_states<'life0, 'life1, 'async_trait>(
&'life0 self,
states: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn fetch_issue_states_by_ids<'life0, 'life1, 'async_trait>(
&'life0 self,
issue_ids: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Trait for issue tracker adapters (Spec Section 11.1).
Required Methods§
Sourcefn fetch_candidate_issues<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn fetch_candidate_issues<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch issues in configured active states for the project.
Sourcefn fetch_issues_by_states<'life0, 'life1, 'async_trait>(
&'life0 self,
states: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_issues_by_states<'life0, 'life1, 'async_trait>(
&'life0 self,
states: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetch issues in the given states (used for startup terminal cleanup).
Sourcefn fetch_issue_states_by_ids<'life0, 'life1, 'async_trait>(
&'life0 self,
issue_ids: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn fetch_issue_states_by_ids<'life0, 'life1, 'async_trait>(
&'life0 self,
issue_ids: &'life1 [String],
) -> Pin<Box<dyn Future<Output = Result<Vec<Issue>, TrackerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetch current states for specific issue IDs (reconciliation).