Struct rdkafka::statistics::ExactlyOnceSemantics[][src]

pub struct ExactlyOnceSemantics {
    pub idemp_state: String,
    pub idemp_stateage: i64,
    pub txn_state: String,
    pub txn_stateage: i64,
    pub txn_may_enq: bool,
    pub producer_id: i64,
    pub producer_epoch: i64,
    pub epoch_cnt: i64,
}

Exactly-once semantics statistics.

Fields

idemp_state: String

The current idempotent producer state.

idemp_stateage: i64

THe time elapsed since the last idempotent producer state change, in milliseconds.

txn_state: String

The current transactional producer state.

txn_stateage: i64

The time elapsed since the last transactional producer state change, in milliseconds.

txn_may_enq: bool

Whether the transactional state allows enqueing (producing) new messages.

producer_id: i64

The currently assigned producer ID, or -1.

producer_epoch: i64

The current epoch, or -1.

epoch_cnt: i64

The number of producer ID assignments.

Trait Implementations

impl Debug for ExactlyOnceSemantics[src]

impl<'de> Deserialize<'de> for ExactlyOnceSemantics[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.