pub struct RunConfig {
pub log_interval: i32,
pub attempt_recovery_after: i32,
pub http_health_endpoint: Option<HealthEndpointConfig>,
}
Fields§
§log_interval: i32
Interval in seconds between application status log messages when there are no problems.
attempt_recovery_after: i32
Services will be restarted after they have been in a failing state for this many seconds.
http_health_endpoint: Option<HealthEndpointConfig>
Set to None to disable the http health endpoint.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnwindSafe for RunConfig
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