pub struct SystemRunner { /* private fields */ }Expand description
The real Runner, which starts processes and stops any that runs
longer than TOOL_TIMEOUT. The binary passes it in.
Implementations§
Source§impl SystemRunner
impl SystemRunner
Sourcepub const fn new() -> SystemRunner
pub const fn new() -> SystemRunner
A runner with the limit the spec gives.
Sourcepub const fn with_limit(limit: Duration) -> SystemRunner
pub const fn with_limit(limit: Duration) -> SystemRunner
A runner that stops a tool after limit instead: for work rather
than a probe, such as clang-tidy analysing a source
(docs/en/specs/commands.md, “cuno lint”).
Trait Implementations§
Source§impl Clone for SystemRunner
impl Clone for SystemRunner
impl Copy for SystemRunner
Source§impl Debug for SystemRunner
impl Debug for SystemRunner
Source§impl Default for SystemRunner
impl Default for SystemRunner
Source§fn default() -> SystemRunner
fn default() -> SystemRunner
Returns the “default value” for a type. Read more
impl Eq for SystemRunner
Source§impl PartialEq for SystemRunner
impl PartialEq for SystemRunner
Source§impl Runner for SystemRunner
impl Runner for SystemRunner
impl StructuralPartialEq for SystemRunner
Auto Trait Implementations§
impl Forget for SystemRunner
impl Freeze for SystemRunner
impl Move for SystemRunner
impl RefUnwindSafe for SystemRunner
impl Send for SystemRunner
impl Sync for SystemRunner
impl Unpin for SystemRunner
impl UnsafeUnpin for SystemRunner
impl UnwindSafe for SystemRunner
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