pub struct FetchablePartitionResponse<R>{
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§
Source§impl<R> Debug for FetchablePartitionResponse<R>
impl<R> Debug for FetchablePartitionResponse<R>
Source§impl<R> Decoder for FetchablePartitionResponse<R>
impl<R> Decoder for FetchablePartitionResponse<R>
Source§impl<R> Default for FetchablePartitionResponse<R>
impl<R> Default for FetchablePartitionResponse<R>
Source§impl<'de, R> Deserialize<'de> for FetchablePartitionResponse<R>
impl<'de, R> Deserialize<'de> for FetchablePartitionResponse<R>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<R> Encoder for FetchablePartitionResponse<R>
impl<R> Encoder for FetchablePartitionResponse<R>
Auto Trait Implementations§
impl<R> Freeze for FetchablePartitionResponse<R>where
R: Freeze,
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more