Enum rdkafka::topic_partition_list::Offset [−][src]
Expand description
A Kafka offset.
Variants
Start consuming from the beginning of the partition.
Start consuming from the end of the partition.
Start consuming from the stored offset.
Offset not assigned or invalid.
Offset(i64)
A specific offset to consume from.
Note that while the offset is a signed integer, negative offsets will be rejected when passed to librdkafka.
Tuple Fields of Offset
0: i64
OffsetTail(i64)
An offset relative to the end of the partition.
Note that while the offset is a signed integer, negative offsets will be rejected when passed to librdkafka.
Tuple Fields of OffsetTail
0: i64
Implementations
Converts the integer representation of an offset used by librdkafka to
an Offset
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Offset
impl UnwindSafe for Offset
Blanket Implementations
Mutably borrows from an owned value. Read more