enum PrLookup {
Found(GitPrInfo, Vec<GitIssueRef>),
None,
Failed,
}Expand description
What one PR lookup produced. Failed is kept apart from None
so a transient gh blip cannot evict a known-good cached PR.
Variants§
Found(GitPrInfo, Vec<GitIssueRef>)
None
The query ran and answered “no open PR containing this sha”.
Failed
The query did not complete (gh missing / auth / rate limit / unparseable response).
Auto Trait Implementations§
impl Freeze for PrLookup
impl RefUnwindSafe for PrLookup
impl Send for PrLookup
impl Sync for PrLookup
impl Unpin for PrLookup
impl UnsafeUnpin for PrLookup
impl UnwindSafe for PrLookup
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