pub struct ProbeConfig {
pub timeout_secs: u64,
pub require_help_flag: bool,
pub cache: Option<CacheConfig>,
}Expand description
Configuration for probing a command.
Fields§
§timeout_secs: u64Timeout in seconds for running the target command.
require_help_flag: boolWhether to require a “help” flag (help/-h/–help/etc).
Currently this is advisory: we still run even if no help flag.
cache: Option<CacheConfig>Cache configuration.
Trait Implementations§
Source§impl Clone for ProbeConfig
impl Clone for ProbeConfig
Source§fn clone(&self) -> ProbeConfig
fn clone(&self) -> ProbeConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 ProbeConfig
impl RefUnwindSafe for ProbeConfig
impl Send for ProbeConfig
impl Sync for ProbeConfig
impl Unpin for ProbeConfig
impl UnwindSafe for ProbeConfig
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