pub struct FetchablePartitionResponse<R> where
    R: Encoder + Decoder + Default + Debug
{ pub partition_index: i32, pub error_code: ErrorCode, pub high_watermark: i64, pub next_filter_offset: i64, pub log_start_offset: i64, pub aborted: Option<Vec<AbortedTransaction>>, pub records: R, }

Fields

partition_index: i32

The partition index.

error_code: ErrorCode

The error code, or 0 if there was no fetch error

high_watermark: i64

The current high water mark.

next_filter_offset: i64

next offset to fetch in case of filter consumer should return that back to SPU, otherwise SPU will re-turn same filter records

log_start_offset: i64

The current log start offset.

aborted: Option<Vec<AbortedTransaction>>

The aborted transactions.

records: R

The record data.

Implementations

offset that will be use for fetching rest of offsets this will be 1 greater than last offset of previous query If all records have been read then it will be either HW or LEO

Trait Implementations

Formats the value using the given formatter. Read more

decode Fluvio compliant protocol values from buf

Returns the “default value” for a type. Read more

encoding contents for buffer

size of this object in bytes

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more