[][src]Struct kf_protocol::message::offset::KfListOffsetRequest

pub struct KfListOffsetRequest {
    pub replica_id: i32,
    pub isolation_level: Isolation,
    pub topics: Vec<ListOffsetTopic>,
}

Fields

replica_id: i32

The broker ID of the requestor, or -1 if this request is being made by a normal consumer.

isolation_level: Isolation

This setting controls the visibility of transactional records. Using READ_UNCOMMITTED (isolation_level = 0) makes all records visible. With READ_COMMITTED (isolation_level = 1), non-transactional and COMMITTED transactional records are visible. To be more concrete, READ_COMMITTED returns all data from offsets smaller than the current LSO (last stable offset), and enables the inclusion of the list of aborted transactions in the result, which allows consumers to discard ABORTED transactional records

topics: Vec<ListOffsetTopic>

Each topic in the request.

Trait Implementations

impl Debug for KfListOffsetRequest[src]

impl Decoder for KfListOffsetRequest[src]

impl Default for KfListOffsetRequest[src]

impl<'de> Deserialize<'de> for KfListOffsetRequest[src]

impl Encoder for KfListOffsetRequest[src]

impl Request for KfListOffsetRequest[src]

impl Serialize for KfListOffsetRequest[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> 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.