pub struct MongoChecker { /* private fields */ }Expand description
Checks a Mongo database is healthy and responding to requests.
Implementations§
Trait Implementations§
Source§impl Checker for MongoChecker
impl Checker for MongoChecker
Source§fn check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = CheckResponse> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = CheckResponse> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Runs the check and returns a
CheckResponse.Auto Trait Implementations§
impl Freeze for MongoChecker
impl !RefUnwindSafe for MongoChecker
impl Send for MongoChecker
impl Sync for MongoChecker
impl Unpin for MongoChecker
impl !UnwindSafe for MongoChecker
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