Struct nacos::NacosService[][src]

pub struct NacosService { /* fields omitted */ }

Implementations

impl NacosService[src]

pub fn new(client: &NacosHTTPClient) -> Self[src]

pub async fn register_instance(&self, args: &RegisterInstance) -> Result<()>[src]

pub async fn deregister_instance(&self, args: &DeregistryInstance) -> Result<()>[src]

pub async fn modify_instance(&self, args: &ModifyInstance) -> Result<()>[src]

pub async fn query_instances(&self, args: &QueryInstance) -> Result<String>[src]

pub async fn query_instance_detail(
    &self,
    args: &QueryInstanceDetail
) -> Result<String>
[src]

pub async fn send_instance_beat(&self, args: &SendInstanceBeat) -> Result<()>[src]

pub async fn create_service(&self, args: &CreateService) -> Result<()>[src]

pub async fn update_service(&self, args: &UpdateService) -> Result<()>[src]

pub async fn delete_service(&self, args: &DeleteService) -> Result<()>[src]

pub async fn query_service(&self, args: &QueryService) -> Result<String>[src]

pub async fn query_service_list(
    &self,
    args: &QueryServiceList
) -> Result<String>
[src]

pub async fn query_system_switch(&self) -> Result<String>[src]

pub async fn update_system_switch(
    &self,
    args: &UpdateSystemSwitch
) -> Result<()>
[src]

pub async fn query_system_metrics(&self) -> Result<String>[src]

pub async fn query_server_list(&self, healthy: bool) -> Result<String>[src]

pub async fn get_leader(&self) -> Result<String>[src]

pub async fn update_instance_health_status(
    &self,
    args: &UpdateInstanceHealthStatus
) -> Result<()>
[src]

Trait Implementations

impl Clone for NacosService[src]

impl Debug for NacosService[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.