pub struct SelfReconfiguringServicePartition { /* private fields */ }Expand description
Wrapper for the IFabricSelfReconfiguringServicePartition COM interface.
Unlike the stateless partition, this interface has no versioned successor, so the base interface is wrapped directly.
Implementations§
Source§impl SelfReconfiguringServicePartition
impl SelfReconfiguringServicePartition
pub fn new( com_impl: IFabricSelfReconfiguringServicePartition, ) -> SelfReconfiguringServicePartition
pub fn get_com(&self) -> &IFabricSelfReconfiguringServicePartition
Trait Implementations§
Source§impl Clone for SelfReconfiguringServicePartition
impl Clone for SelfReconfiguringServicePartition
Source§fn clone(&self) -> SelfReconfiguringServicePartition
fn clone(&self) -> SelfReconfiguringServicePartition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ISelfReconfiguringServicePartition for SelfReconfiguringServicePartition
impl ISelfReconfiguringServicePartition for SelfReconfiguringServicePartition
Source§fn get_partition_info(&self) -> Result<ServicePartitionInformation>
fn get_partition_info(&self) -> Result<ServicePartitionInformation>
Provides access to the
ServicePartitionInformation of the service, which
contains the partition type and ID.Source§fn report_load(&self, metrics: &[LoadMetric]) -> Result<()>
fn report_load(&self, metrics: &[LoadMetric]) -> Result<()>
Reports load for the current instance in the partition.
Source§fn report_fault(&self, fault_type: FaultType) -> Result<()>
fn report_fault(&self, fault_type: FaultType) -> Result<()>
Enables the instance to report a fault to the runtime and indicates that it
has encountered an error from which it cannot recover and must either be
restarted or removed.
Source§fn report_move_cost(&self, move_cost: MoveCost) -> Result<()>
fn report_move_cost(&self, move_cost: MoveCost) -> Result<()>
Reports the move cost for an instance.
Source§fn report_instance_health(&self, healthinfo: &HealthInformation) -> Result<()>
fn report_instance_health(&self, healthinfo: &HealthInformation) -> Result<()>
Reports health on the current self-reconfiguring service instance of the
partition.
Source§fn report_partition_health(&self, healthinfo: &HealthInformation) -> Result<()>
fn report_partition_health(&self, healthinfo: &HealthInformation) -> Result<()>
Reports current partition health.
Source§fn report_configuration(
&self,
report: &SelfReconfiguringConfigurationReport,
) -> Result<()>
fn report_configuration( &self, report: &SelfReconfiguringConfigurationReport, ) -> Result<()>
Public documentation for this interface is TBD.
Auto Trait Implementations§
impl Freeze for SelfReconfiguringServicePartition
impl RefUnwindSafe for SelfReconfiguringServicePartition
impl Send for SelfReconfiguringServicePartition
impl Sync for SelfReconfiguringServicePartition
impl Unpin for SelfReconfiguringServicePartition
impl UnsafeUnpin for SelfReconfiguringServicePartition
impl UnwindSafe for SelfReconfiguringServicePartition
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