pub enum Wire<V> {
Announce(Tagged<Announce<V>>),
Reply(Tagged<Reply<V>>),
}Expand description
The wire, multiplexing the two children the book names.
Variants§
Announce(Tagged<Announce<V>>)
sbeb — the leader’s announcements.
Reply(Tagged<Reply<V>>)
sl — the followers’ replies, each to one process.
Trait Implementations§
Source§impl<'de, V> Deserialize<'de> for Wire<V>where
V: Deserialize<'de>,
impl<'de, V> Deserialize<'de> for Wire<V>where
V: Deserialize<'de>,
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<V: Eq> Eq for Wire<V>
impl<V: PartialEq> StructuralPartialEq for Wire<V>
Auto Trait Implementations§
impl<V> Freeze for Wire<V>where
V: Freeze,
impl<V> RefUnwindSafe for Wire<V>where
V: RefUnwindSafe,
impl<V> Send for Wire<V>where
V: Send,
impl<V> Sync for Wire<V>where
V: Sync,
impl<V> Unpin for Wire<V>where
V: Unpin,
impl<V> UnsafeUnpin for Wire<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Wire<V>where
V: UnwindSafe,
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