pub struct Incremental { /* private fields */ }Expand description
Implementations§
Source§impl Incremental
impl Incremental
pub fn new(current_offset: VarInt) -> Self
pub fn with_storage<'a, C: Storage>( &'a mut self, storage: &'a mut C, is_fin: bool, ) -> Result<WithStorage<'a, C>, Error>
pub fn current_offset(&self) -> VarInt
pub fn final_offset(&self) -> Option<VarInt>
Trait Implementations§
Source§impl Debug for Incremental
impl Debug for Incremental
Source§impl Default for Incremental
impl Default for Incremental
Source§fn default() -> Incremental
fn default() -> Incremental
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Incremental
impl RefUnwindSafe for Incremental
impl Send for Incremental
impl Sync for Incremental
impl Unpin for Incremental
impl UnwindSafe for Incremental
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