pub struct FileHealthCheck { /* private fields */ }Expand description
Health check for the file component.
Probes that the target directory exists via tokio::fs::metadata().
Reports Healthy when the directory is accessible.
Reports Degraded if the directory is missing or the probe times out.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for FileHealthCheck
impl !UnwindSafe for FileHealthCheck
impl Freeze for FileHealthCheck
impl Send for FileHealthCheck
impl Sync for FileHealthCheck
impl Unpin for FileHealthCheck
impl UnsafeUnpin for FileHealthCheck
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