Enum rdkafka::topic_partition_list::Offset [] [src]

pub enum Offset {
    Beginning,
    End,
    Stored,
    Invalid,
    Offset(i64),
}

A librdkafka 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.

A specific offset to consume from.

Methods

impl Offset
[src]

Converts the integer representation of an offset use by librdkafka to an Offset.

Converts the Offset to the internal integer representation used by librdkafka.

Trait Implementations

impl Copy for Offset
[src]

impl Clone for Offset
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Offset
[src]

Formats the value using the given formatter.

impl PartialEq for Offset
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Offset
[src]