Struct nacos::NacosService [−][src]
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]
&self,
args: &QueryInstanceDetail
) -> Result<String>
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]
&self,
args: &QueryServiceList
) -> Result<String>
pub async fn query_system_switch(&self) -> Result<String>
[src]
pub async fn update_system_switch(
&self,
args: &UpdateSystemSwitch
) -> Result<()>
[src]
&self,
args: &UpdateSystemSwitch
) -> Result<()>
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]
&self,
args: &UpdateInstanceHealthStatus
) -> Result<()>
Trait Implementations
impl Clone for NacosService
[src]
fn clone(&self) -> NacosService
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NacosService
[src]
Auto Trait Implementations
impl RefUnwindSafe for NacosService
impl Send for NacosService
impl Sync for NacosService
impl Unpin for NacosService
impl UnwindSafe for NacosService
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,