Struct fluvio_stream_model::epoch::EpochChanges
source · pub struct EpochChanges<V> {
pub epoch: Epoch,
/* private fields */
}
Fields§
§epoch: Epoch
Implementations§
source§impl<V> EpochChanges<V>
impl<V> EpochChanges<V>
pub fn new(epoch: Epoch, changes: EpochDeltaChanges<V>) -> Self
sourcepub fn current_epoch(&self) -> &Epoch
pub fn current_epoch(&self) -> &Epoch
current epoch
sourcepub fn parts(self) -> (Vec<V>, Vec<V>)
pub fn parts(self) -> (Vec<V>, Vec<V>)
return all updates regardless of sync or changes (update,deletes)
pub fn is_empty(&self) -> bool
sourcepub fn is_sync_all(&self) -> bool
pub fn is_sync_all(&self) -> bool
is change contain sync all
Trait Implementations§
Auto Trait Implementations§
impl<V> Freeze for EpochChanges<V>
impl<V> RefUnwindSafe for EpochChanges<V>where
V: RefUnwindSafe,
impl<V> Send for EpochChanges<V>where
V: Send,
impl<V> Sync for EpochChanges<V>where
V: Sync,
impl<V> Unpin for EpochChanges<V>where
V: Unpin,
impl<V> UnwindSafe for EpochChanges<V>where
V: UnwindSafe,
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