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
pub fn from_com(com: IFabricHealthClient4) -> Self
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 copy 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 moreAuto 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