Enum fluvio::consumer::OffsetManagementStrategy
source · pub enum OffsetManagementStrategy {
None,
Manual,
Auto,
}
Variants§
None
Offsets are not saved
Manual
All operations must be invoked explicitly.
Auto
Before yielding a new record to the caller, the previous record is committed and flushed if the configured interval is passed. Additionally, the commit and the flush are triggered when the stream object gets dropped.
Trait Implementations§
source§impl Clone for OffsetManagementStrategy
impl Clone for OffsetManagementStrategy
source§fn clone(&self) -> OffsetManagementStrategy
fn clone(&self) -> OffsetManagementStrategy
Returns a copy of the value. Read more
1.0.0 · 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 OffsetManagementStrategy
impl Debug for OffsetManagementStrategy
source§impl Default for OffsetManagementStrategy
impl Default for OffsetManagementStrategy
source§fn default() -> OffsetManagementStrategy
fn default() -> OffsetManagementStrategy
Returns the “default value” for a type. Read more
impl Copy for OffsetManagementStrategy
Auto Trait Implementations§
impl Freeze for OffsetManagementStrategy
impl RefUnwindSafe for OffsetManagementStrategy
impl Send for OffsetManagementStrategy
impl Sync for OffsetManagementStrategy
impl Unpin for OffsetManagementStrategy
impl UnwindSafe for OffsetManagementStrategy
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