pub struct AppendPlan {
pub overlap: usize,
pub new_count: u64,
}Expand description
How a batch passed to RunStore::append_events lines up with the events a
store already holds (shared by implementations).
Fields§
§overlap: usizeLeading events of the batch that are already stored (a retry); they must
equal the stored ones at first_index..first_index + overlap.
new_count: u64The run’s event count after the append.
Trait Implementations§
Source§impl Clone for AppendPlan
impl Clone for AppendPlan
impl Copy for AppendPlan
Source§impl Debug for AppendPlan
impl Debug for AppendPlan
impl Eq for AppendPlan
Source§impl PartialEq for AppendPlan
impl PartialEq for AppendPlan
impl StructuralPartialEq for AppendPlan
Auto Trait Implementations§
impl Forget for AppendPlan
impl Freeze for AppendPlan
impl Move for AppendPlan
impl RefUnwindSafe for AppendPlan
impl Send for AppendPlan
impl Sync for AppendPlan
impl Unpin for AppendPlan
impl UnsafeUnpin for AppendPlan
impl UnwindSafe for AppendPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.