pub enum SeekPolicy {
Earliest,
Latest,
Committed,
}Expand description
Seek policy for initializing consumer position.
Variants§
Earliest
Start from the earliest available message.
Latest
Start from the latest message (only new messages).
Committed
Start from the last committed offset (or earliest if none).
Trait Implementations§
Source§impl Clone for SeekPolicy
impl Clone for SeekPolicy
Source§fn clone(&self) -> SeekPolicy
fn clone(&self) -> SeekPolicy
Returns a duplicate 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 SeekPolicy
impl Debug for SeekPolicy
Source§impl PartialEq for SeekPolicy
impl PartialEq for SeekPolicy
impl Eq for SeekPolicy
impl StructuralPartialEq for SeekPolicy
Auto Trait Implementations§
impl Freeze for SeekPolicy
impl RefUnwindSafe for SeekPolicy
impl Send for SeekPolicy
impl Sync for SeekPolicy
impl Unpin for SeekPolicy
impl UnwindSafe for SeekPolicy
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