pub struct HealthClient { /* private fields */ }
Expand description
Provides functionality to perform health related operations, like report and query health. See C# API here.
TODO: Implement full functionality of the HealthClient.
Implementations§
Source§impl HealthClient
impl HealthClient
Sourcepub fn report_health(&self, health_report: &HealthReport) -> Result<()>
pub fn report_health(&self, health_report: &HealthReport) -> Result<()>
Reports health on a Service Fabric entity. See C# API here.
Remarks: When a cluster is secured, the health client needs administrator permission to be able to send the reports. Read more about connecting to a cluster using the FabricClient APIs. For more information about health reporting, see Service Fabric health monitoring.
Trait Implementations§
Source§impl Clone for HealthClient
impl Clone for HealthClient
Source§fn clone(&self) -> HealthClient
fn clone(&self) -> HealthClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HealthClient
impl Debug for HealthClient
Source§impl From<HealthClient> for IFabricHealthClient4
impl From<HealthClient> for IFabricHealthClient4
Source§fn from(value: HealthClient) -> Self
fn from(value: HealthClient) -> Self
Converts to this type from the input type.
Source§impl From<IFabricHealthClient4> for HealthClient
impl From<IFabricHealthClient4> for HealthClient
Source§fn from(value: IFabricHealthClient4) -> Self
fn from(value: IFabricHealthClient4) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HealthClient
impl RefUnwindSafe for HealthClient
impl Send for HealthClient
impl Sync for HealthClient
impl Unpin for HealthClient
impl UnwindSafe for HealthClient
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