[][src]Struct fluvio::dataplane::fetch::FetchablePartitionResponse

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

Fields

partition_index: i32

The partiiton index.

error_code: ErrorCode

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

high_watermark: i64

The current high water mark.

last_stable_offset: i64

The last stable offset (or LSO) of the partition. This is the last offset such that the state of all transactional records prior to this offset have been decided (ABORTED or COMMITTED)

log_start_offset: i64

The current log start offset.

aborted: Option<Vec<AbortedTransaction>>

The aborted transactions.

records: R

The record data.

Trait Implementations

impl<R> Debug for FetchablePartitionResponse<R> where
    R: Debug + Encoder + Decoder + Default
[src]

impl<R> Decoder for FetchablePartitionResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Default for FetchablePartitionResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Encoder for FetchablePartitionResponse<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl FileWrite for FetchablePartitionResponse<FileRecordSet>[src]

Auto Trait Implementations

impl<R> RefUnwindSafe for FetchablePartitionResponse<R> where
    R: RefUnwindSafe

impl<R> Send for FetchablePartitionResponse<R> where
    R: Send

impl<R> Sync for FetchablePartitionResponse<R> where
    R: Sync

impl<R> Unpin for FetchablePartitionResponse<R> where
    R: Unpin

impl<R> UnwindSafe for FetchablePartitionResponse<R> where
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithSubscriber for T[src]