Struct mssf_core::runtime::stateful_proxy::ReplicatorProxy
source · pub struct ReplicatorProxy { /* private fields */ }
Trait Implementations§
source§impl Replicator for ReplicatorProxy
impl Replicator for ReplicatorProxy
async fn open(&self, cancellation_token: CancellationToken) -> Result<HSTRING>
async fn close(&self, cancellation_token: CancellationToken) -> Result<()>
async fn change_role( &self, epoch: &Epoch, role: &ReplicaRole, cancellation_token: CancellationToken, ) -> Result<()>
async fn update_epoch( &self, epoch: &Epoch, cancellation_token: CancellationToken, ) -> 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 ReplicatorProxy
impl RefUnwindSafe for ReplicatorProxy
impl Send for ReplicatorProxy
impl Sync for ReplicatorProxy
impl Unpin for ReplicatorProxy
impl UnwindSafe for ReplicatorProxy
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