pub struct QueueConfig {
pub tree: PathBuf,
pub command: CommandSpec,
}Expand description
What a node needs before it can run a round.
Set by --queue-tree and --ci-command. Absent, /api/queue/run
answers 501: a node with no CI command has no way to decide whether
a candidate is good, and a queue that landed everything unchecked
would be a worse git push.
Fields§
§tree: PathBufScratch root the queue owns. Worktrees are made under it, one
per repo:branch, and reused between rounds.
command: CommandSpecWhat to run against each candidate state.
Trait Implementations§
Source§impl Clone for QueueConfig
impl Clone for QueueConfig
Source§fn clone(&self) -> QueueConfig
fn clone(&self) -> QueueConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueueConfig
impl RefUnwindSafe for QueueConfig
impl Send for QueueConfig
impl Sync for QueueConfig
impl Unpin for QueueConfig
impl UnsafeUnpin for QueueConfig
impl UnwindSafe for QueueConfig
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