Struct dendrite::axon_server::control::event_processor_info::SegmentStatus[][src]

pub struct SegmentStatus {
    pub segment_id: i32,
    pub caught_up: bool,
    pub replaying: bool,
    pub one_part_of: i32,
    pub token_position: i64,
    pub error_state: String,
}

Message containing information about the status of a Segment of a Tracking Event Processor

Fields

segment_id: i32

The ID of the Segment for which the status is reported

caught_up: bool

Indicates whether the Segment has “Caught Up” with the Head of the Event Stream

replaying: bool

Indicates whether the Segment is “Replaying” historic events after a Reset.

one_part_of: i32

The fraction this segment processes. A fraction of 2 means 1/2, 4 means 1/4, etc.

token_position: i64

The approximate position of the token in the stream.

error_state: String

Information about the error state of the Segment, if applicable.

Trait Implementations

impl Clone for SegmentStatus[src]

impl Debug for SegmentStatus[src]

impl Default for SegmentStatus[src]

impl Message for SegmentStatus[src]

impl PartialEq<SegmentStatus> for SegmentStatus[src]

impl StructuralPartialEq for SegmentStatus[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> 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> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> VecU8Message for T where
    T: Message
[src]

impl<T> WithSubscriber for T[src]