pub enum Wire {
Detector(Heartbeat),
Announce(NewEpoch),
Refuse(Nack),
}Expand description
The wire, multiplexing the three children the book names.
Variants§
Detector(Heartbeat)
The leader detector’s heartbeats.
Announce(NewEpoch)
sbeb — the announcements.
Refuse(Nack)
sl — the refusals, which go to one process rather than all.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wire
impl<'de> Deserialize<'de> for Wire
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Wire
impl StructuralPartialEq for Wire
Auto Trait Implementations§
impl Freeze for Wire
impl RefUnwindSafe for Wire
impl Send for Wire
impl Sync for Wire
impl Unpin for Wire
impl UnsafeUnpin for Wire
impl UnwindSafe for Wire
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