pub struct LocalHandler { /* private fields */ }
Implementations§
Source§impl LocalHandler
impl LocalHandler
pub fn new(client: RestClient) -> Self
Sourcepub async fn master_healthcheck(&self) -> Result<Value>
pub async fn master_healthcheck(&self) -> Result<Value>
Master healthcheck for local node - GET /v1/local/node/master_healthcheck
Sourcepub async fn services_update(&self, body: Value) -> Result<Value>
pub async fn services_update(&self, body: Value) -> Result<Value>
Create/update local services - POST /v1/local/services
Auto Trait Implementations§
impl Freeze for LocalHandler
impl !RefUnwindSafe for LocalHandler
impl Send for LocalHandler
impl Sync for LocalHandler
impl Unpin for LocalHandler
impl !UnwindSafe for LocalHandler
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