pub struct ActiveNodeReport {
pub active: &'static str,
pub this_role: String,
pub peer_role: String,
pub peer_profile: String,
pub peer: RedundancyStatusWire,
}Expand description
Which node of a pair is serving, from the second-node read.
Fields§
§active: &'static strthis, peer, both (a split-brain signal, reported never
resolved) or neither; decided by activityLevel alone.
this_role: StringThe role the active profile’s node reports (display only).
peer_role: StringThe role the peer profile’s node reports (display only).
peer_profile: StringThe peer profile’s name.
peer: RedundancyStatusWireThe peer node’s flat wire status, capture-shaped.
Trait Implementations§
Source§impl Debug for ActiveNodeReport
impl Debug for ActiveNodeReport
Auto Trait Implementations§
impl Freeze for ActiveNodeReport
impl RefUnwindSafe for ActiveNodeReport
impl Send for ActiveNodeReport
impl Sync for ActiveNodeReport
impl Unpin for ActiveNodeReport
impl UnsafeUnpin for ActiveNodeReport
impl UnwindSafe for ActiveNodeReport
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