pub struct ReplicationChannelStatus {
pub channel_name: String,
pub role: ReplicaRole,
pub tail_seq: u64,
}Expand description
Per-channel replication status entry surfaced by
Redex::replication_status_snapshot. Pairs with the
ReplicationMetricsSnapshot atomic-counter view for the full
operator observability picture.
Fields§
§channel_name: StringHuman-readable channel name (matches the
ChannelMetrics::channel field in the metrics snapshot).
role: ReplicaRoleCurrent replica role per the state machine.
tail_seq: u64Coordinator’s view of the local tail_seq. The leader’s
view is canonical; replica views catch up via the heartbeat
cycle.
Trait Implementations§
Source§impl Clone for ReplicationChannelStatus
impl Clone for ReplicationChannelStatus
Source§fn clone(&self) -> ReplicationChannelStatus
fn clone(&self) -> ReplicationChannelStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReplicationChannelStatus
impl Debug for ReplicationChannelStatus
impl Eq for ReplicationChannelStatus
Source§impl PartialEq for ReplicationChannelStatus
impl PartialEq for ReplicationChannelStatus
Source§fn eq(&self, other: &ReplicationChannelStatus) -> bool
fn eq(&self, other: &ReplicationChannelStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplicationChannelStatus
Auto Trait Implementations§
impl Freeze for ReplicationChannelStatus
impl RefUnwindSafe for ReplicationChannelStatus
impl Send for ReplicationChannelStatus
impl Sync for ReplicationChannelStatus
impl Unpin for ReplicationChannelStatus
impl UnsafeUnpin for ReplicationChannelStatus
impl UnwindSafe for ReplicationChannelStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.