pub enum ActiveNode {
OnlyA,
OnlyB,
Both,
Neither,
}Expand description
Which node of a redundant pair is serving, decided by activityLevel
alone (block C-S3).
Variants§
OnlyA
Only the first node is Active.
OnlyB
Only the second node is Active.
Both
Both nodes report Active: a split-brain signal. Reported, never
resolved; the caller must refuse on it.
Neither
Neither node reports Active.
Trait Implementations§
Source§impl Clone for ActiveNode
impl Clone for ActiveNode
impl Copy for ActiveNode
Source§impl Debug for ActiveNode
impl Debug for ActiveNode
impl Eq for ActiveNode
Source§impl PartialEq for ActiveNode
impl PartialEq for ActiveNode
impl StructuralPartialEq for ActiveNode
Auto Trait Implementations§
impl Forget for ActiveNode
impl Freeze for ActiveNode
impl Move for ActiveNode
impl RefUnwindSafe for ActiveNode
impl Send for ActiveNode
impl Sync for ActiveNode
impl Unpin for ActiveNode
impl UnsafeUnpin for ActiveNode
impl UnwindSafe for ActiveNode
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.