pub struct PendingSyncBatch {
pub key: SyncBucketKey,
pub committed_state: SyncBucketState,
pub payload: Vec<u8>,
}Expand description
Durable write-ahead record for one fetched update batch. The opaque payload is owned by the sync engine and retained until reducer writes and the bucket cursor have both committed.
Fields§
§key: SyncBucketKeyBucket receiving the batch.
committed_state: SyncBucketStateCursor to commit after the batch is reapplied successfully.
payload: Vec<u8>Versioned opaque encoded updates and sidecars.
Trait Implementations§
Source§impl Clone for PendingSyncBatch
impl Clone for PendingSyncBatch
Source§fn clone(&self) -> PendingSyncBatch
fn clone(&self) -> PendingSyncBatch
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 Debug for PendingSyncBatch
impl Debug for PendingSyncBatch
impl Eq for PendingSyncBatch
Source§impl PartialEq for PendingSyncBatch
impl PartialEq for PendingSyncBatch
impl StructuralPartialEq for PendingSyncBatch
Auto Trait Implementations§
impl Freeze for PendingSyncBatch
impl RefUnwindSafe for PendingSyncBatch
impl Send for PendingSyncBatch
impl Sync for PendingSyncBatch
impl Unpin for PendingSyncBatch
impl UnsafeUnpin for PendingSyncBatch
impl UnwindSafe for PendingSyncBatch
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