pub enum Recovery<P> {
Request {
requester: NodeId,
origin: NodeId,
incarnation: u64,
seq: u64,
ttl: u32,
},
Data(Data<P>),
}Expand description
What travels over the link directly, outside the gossip: [REQUEST, …] and its answer.
Variants§
Request
[REQUEST, q, s, sn, r] — q is the process that wants it, carried so that whoever holds
it answers the requester rather than the relayer.
Data(Data<P>)
[DATA, s, m, sn] sent back to a requester.
Trait Implementations§
Source§impl<'de, P> Deserialize<'de> for Recovery<P>where
P: Deserialize<'de>,
impl<'de, P> Deserialize<'de> for Recovery<P>where
P: 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<P: Eq> Eq for Recovery<P>
Source§impl<P: PartialEq> PartialEq for Recovery<P>
impl<P: PartialEq> PartialEq for Recovery<P>
impl<P: PartialEq> StructuralPartialEq for Recovery<P>
Auto Trait Implementations§
impl<P> Freeze for Recovery<P>where
P: Freeze,
impl<P> RefUnwindSafe for Recovery<P>where
P: RefUnwindSafe,
impl<P> Send for Recovery<P>where
P: Send,
impl<P> Sync for Recovery<P>where
P: Sync,
impl<P> Unpin for Recovery<P>where
P: Unpin,
impl<P> UnsafeUnpin for Recovery<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Recovery<P>where
P: 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