pub struct GetHealth<'a> { /* private fields */ }Expand description
Builder for Client::get_health
Implementations§
Source§impl<'a> GetHealth<'a>
impl<'a> GetHealth<'a>
pub fn new(client: &'a Client) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<HealthStatus>, Error<HealthStatus>>
pub async fn send( self, ) -> Result<ResponseValue<HealthStatus>, Error<HealthStatus>>
Sends a GET request to /v0/cluster_healthz
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetHealth<'a>
impl<'a> !RefUnwindSafe for GetHealth<'a>
impl<'a> Send for GetHealth<'a>
impl<'a> Sync for GetHealth<'a>
impl<'a> Unpin for GetHealth<'a>
impl<'a> !UnwindSafe for GetHealth<'a>
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