pub struct ContainerHealthCheck { /* private fields */ }Expand description
Async health check that probes the Docker daemon via Docker::ping().
Implementations§
Source§impl ContainerHealthCheck
impl ContainerHealthCheck
Sourcepub fn new(config: &ContainerConfig) -> Self
pub fn new(config: &ContainerConfig) -> Self
Creates a new health check using the given endpoint config. The Docker client is created lazily during the probe.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ContainerHealthCheck
impl !UnwindSafe for ContainerHealthCheck
impl Freeze for ContainerHealthCheck
impl Send for ContainerHealthCheck
impl Sync for ContainerHealthCheck
impl Unpin for ContainerHealthCheck
impl UnsafeUnpin for ContainerHealthCheck
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