pub struct LocalIssueProvider { /* private fields */ }Expand description
Reads issues from .oven/issues/*.md files.
Implementations§
Trait Implementations§
Source§impl IssueProvider for LocalIssueProvider
impl IssueProvider for LocalIssueProvider
Source§fn get_ready_issues<'life0, 'life1, 'async_trait>(
&'life0 self,
label: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<PipelineIssue>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_ready_issues<'life0, 'life1, 'async_trait>(
&'life0 self,
label: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<PipelineIssue>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetch all open issues with the given label.
Source§fn get_issue<'life0, 'async_trait>(
&'life0 self,
number: u32,
) -> Pin<Box<dyn Future<Output = Result<PipelineIssue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_issue<'life0, 'async_trait>(
&'life0 self,
number: u32,
) -> Pin<Box<dyn Future<Output = Result<PipelineIssue>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch a single issue by number.
Source§fn transition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
number: u32,
from: &'life1 str,
to: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn transition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
number: u32,
from: &'life1 str,
to: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Transition an issue from one label to another.
Auto Trait Implementations§
impl Freeze for LocalIssueProvider
impl RefUnwindSafe for LocalIssueProvider
impl Send for LocalIssueProvider
impl Sync for LocalIssueProvider
impl Unpin for LocalIssueProvider
impl UnsafeUnpin for LocalIssueProvider
impl UnwindSafe for LocalIssueProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more