pub enum ListOffsetsPosition {
Earliest,
Latest,
Timestamp(i64),
}
Expand description
The position in a log to fetch an offset for.
Variants§
Earliest
Fetch the offset of the beginning of the partition’s log.
Latest
Fetch the next offset after the last offset of the partition’s log.
Timestamp(i64)
Fetch the offset for the corresponding timestamp.
Auto Trait Implementations§
impl Freeze for ListOffsetsPosition
impl RefUnwindSafe for ListOffsetsPosition
impl Send for ListOffsetsPosition
impl Sync for ListOffsetsPosition
impl Unpin for ListOffsetsPosition
impl UnwindSafe for ListOffsetsPosition
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