Enum sea_streamer_kafka::AutoOffsetReset
source · pub enum AutoOffsetReset {
Earliest,
Latest,
NoReset,
}
Variants§
Earliest
Automatically reset the offset to the earliest offset.
Latest
Automatically reset the offset to the latest offset.
NoReset
Throw exception to the consumer if no previous offset is found for the consumer’s group.
Implementations§
Trait Implementations§
source§impl Clone for AutoOffsetReset
impl Clone for AutoOffsetReset
source§fn clone(&self) -> AutoOffsetReset
fn clone(&self) -> AutoOffsetReset
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 AutoOffsetReset
impl Debug for AutoOffsetReset
source§impl From<AutoOffsetReset> for String
impl From<AutoOffsetReset> for String
source§fn from(o: AutoOffsetReset) -> Self
fn from(o: AutoOffsetReset) -> Self
Converts to this type from the input type.
source§impl PartialEq<AutoOffsetReset> for AutoOffsetReset
impl PartialEq<AutoOffsetReset> for AutoOffsetReset
source§fn eq(&self, other: &AutoOffsetReset) -> bool
fn eq(&self, other: &AutoOffsetReset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AutoOffsetReset
impl Eq for AutoOffsetReset
impl StructuralEq for AutoOffsetReset
impl StructuralPartialEq for AutoOffsetReset
Auto Trait Implementations§
impl RefUnwindSafe for AutoOffsetReset
impl Send for AutoOffsetReset
impl Sync for AutoOffsetReset
impl Unpin for AutoOffsetReset
impl UnwindSafe for AutoOffsetReset
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