pub struct ReplicatorHandle { /* private fields */ }Expand description
Handle for controlling the replicator
Implementations§
Source§impl ReplicatorHandle
impl ReplicatorHandle
Sourcepub async fn replicate(
&self,
record: DecisionRecord,
) -> Result<(), ReplicationError>
pub async fn replicate( &self, record: DecisionRecord, ) -> Result<(), ReplicationError>
Send a new decision record to be replicated
Sourcepub fn update_integrity(&self, integrity: StateIntegrity)
pub fn update_integrity(&self, integrity: StateIntegrity)
Update the current state integrity (call after each signing)
Auto Trait Implementations§
impl Freeze for ReplicatorHandle
impl !RefUnwindSafe for ReplicatorHandle
impl Send for ReplicatorHandle
impl Sync for ReplicatorHandle
impl Unpin for ReplicatorHandle
impl !UnwindSafe for ReplicatorHandle
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