pub struct ValidatorAgentConfig {
pub validation_config: ValidationConfig,
pub timeout_secs: u64,
}Expand description
Configuration for ValidatorAgent.
Fields§
§validation_config: ValidationConfigThe underlying validation pipeline configuration.
timeout_secs: u64Wall-clock timeout in seconds for the entire validation run. Default: 120.
Implementations§
Source§impl ValidatorAgentConfig
impl ValidatorAgentConfig
Sourcepub fn new(validation_config: ValidationConfig) -> Self
pub fn new(validation_config: ValidationConfig) -> Self
Create a config wrapping a ValidationConfig.
Sourcepub fn with_timeout(self, secs: u64) -> Self
pub fn with_timeout(self, secs: u64) -> Self
Set the wall-clock timeout.
Trait Implementations§
Source§impl Clone for ValidatorAgentConfig
impl Clone for ValidatorAgentConfig
Source§fn clone(&self) -> ValidatorAgentConfig
fn clone(&self) -> ValidatorAgentConfig
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 moreSource§impl Debug for ValidatorAgentConfig
impl Debug for ValidatorAgentConfig
Auto Trait Implementations§
impl Freeze for ValidatorAgentConfig
impl RefUnwindSafe for ValidatorAgentConfig
impl Send for ValidatorAgentConfig
impl Sync for ValidatorAgentConfig
impl Unpin for ValidatorAgentConfig
impl UnsafeUnpin for ValidatorAgentConfig
impl UnwindSafe for ValidatorAgentConfig
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