pub struct InFlight(/* private fields */);Expand description
The rounds currently running, by <repo>:<branch>.
A second request for a target already in flight is refused rather than queued behind it. Two overlapping rounds would each read the branch, speculate from it, and race to land: the loser’s whole round is void by construction, so the CI it spent was wasted before it started. Refusing says so immediately.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for InFlight
impl RefUnwindSafe for InFlight
impl Send for InFlight
impl Sync for InFlight
impl Unpin for InFlight
impl UnsafeUnpin for InFlight
impl UnwindSafe for InFlight
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