pub trait Status:
Send
+ Sync
+ Debug {
// Provided methods
fn healthz<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = (String, StatusCode)> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
fn metrics<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = (String, StatusCode)> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Definition of the Status interface. This interface should be implemented by DNS service provider application to give healthz and metrics information