pub struct HealthCheckConfigBuilder { /* private fields */ }Expand description
Builder for HealthCheckConfig
Implementations§
Source§impl HealthCheckConfigBuilder
impl HealthCheckConfigBuilder
Sourcepub fn check_interval(self, interval: Duration) -> Self
pub fn check_interval(self, interval: Duration) -> Self
Set health check interval
Sourcepub fn check_timeout(self, timeout: Duration) -> Self
pub fn check_timeout(self, timeout: Duration) -> Self
Set health check timeout
Sourcepub fn infrequent(self) -> Self
pub fn infrequent(self) -> Self
Configure for infrequent health checks
Sourcepub fn build(self) -> HealthCheckConfig
pub fn build(self) -> HealthCheckConfig
Build the final configuration
Trait Implementations§
Source§impl Clone for HealthCheckConfigBuilder
impl Clone for HealthCheckConfigBuilder
Source§fn clone(&self) -> HealthCheckConfigBuilder
fn clone(&self) -> HealthCheckConfigBuilder
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 HealthCheckConfigBuilder
impl Debug for HealthCheckConfigBuilder
Auto Trait Implementations§
impl Freeze for HealthCheckConfigBuilder
impl RefUnwindSafe for HealthCheckConfigBuilder
impl Send for HealthCheckConfigBuilder
impl Sync for HealthCheckConfigBuilder
impl Unpin for HealthCheckConfigBuilder
impl UnwindSafe for HealthCheckConfigBuilder
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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