Struct mssf_core::runtime::stateful_proxy::PrimaryReplicatorProxy
source · pub struct PrimaryReplicatorProxy { /* private fields */ }
Implementations§
source§impl PrimaryReplicatorProxy
impl PrimaryReplicatorProxy
pub fn new(com_impl: IFabricPrimaryReplicator) -> PrimaryReplicatorProxy
Trait Implementations§
source§impl PrimaryReplicator for PrimaryReplicatorProxy
impl PrimaryReplicator for PrimaryReplicatorProxy
async fn on_data_loss(&self) -> Result<u8>
fn update_catch_up_replica_set_configuration( &self, currentconfiguration: &ReplicaSetConfig, previousconfiguration: &ReplicaSetConfig ) -> Result<()>
async fn wait_for_catch_up_quorum( &self, catchupmode: ReplicaSetQuarumMode ) -> Result<()>
fn update_current_replica_set_configuration( &self, currentconfiguration: &ReplicaSetConfig ) -> Result<()>
async fn build_replica(&self, replica: &ReplicaInfo) -> Result<()>
fn remove_replica(&self, replicaid: i64) -> Result<()>
source§impl Replicator for PrimaryReplicatorProxy
impl Replicator for PrimaryReplicatorProxy
async fn open(&self) -> Result<HSTRING>
async fn close(&self) -> Result<()>
async fn change_role(&self, epoch: &Epoch, role: &Role) -> Result<()>
async fn update_epoch(&self, epoch: &Epoch) -> Result<()>
fn get_current_progress(&self) -> Result<i64>
fn get_catch_up_capability(&self) -> Result<i64>
fn abort(&self)
Auto Trait Implementations§
impl Freeze for PrimaryReplicatorProxy
impl RefUnwindSafe for PrimaryReplicatorProxy
impl Send for PrimaryReplicatorProxy
impl Sync for PrimaryReplicatorProxy
impl Unpin for PrimaryReplicatorProxy
impl UnwindSafe for PrimaryReplicatorProxy
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