kafka/
utils.rs

1
2
3
4
5
6
7
8
9
10
11
//! Some utility structures
//!
//! This module is _not_ exposed to the public directly.

/// A retrieved offset for a particular partition in the context of an
/// already known topic.
#[derive(Debug, Hash, PartialEq, Eq)]
pub struct PartitionOffset {
    pub offset: i64,
    pub partition: i32,
}