Enum kafka::client::FetchOffset [] [src]

pub enum FetchOffset {
    Earliest,
    Latest,
    ByTime(i64),
}

Possible values when querying a topic's offset. See KafkaClient::fetch_offsets.

Variants

Receive the earliest available offset.

Receive the latest offset.

Used to ask for all messages before a certain time (ms); unix timestamp in milliseconds. See https://cwiki.apache.org/confluence/display/KAFKA/Writing+a+Driver+for+Kafka#WritingaDriverforKafka-Offsets

Trait Implementations

impl Debug for FetchOffset
[src]

[src]

Formats the value using the given formatter.

impl Copy for FetchOffset
[src]

impl Clone for FetchOffset
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more