pub enum Ind<V> {
Ordered {
position: Position,
from: NodeId,
value: V,
},
Contents {
from: Position,
entries: Vec<V>,
},
SessionEnded {
peer: NodeId,
epoch: u64,
},
SessionEstablished {
peer: NodeId,
epoch: u64,
},
}Expand description
Indications to the layer above.
Variants§
Ordered
⟨ tob, Deliver | s, m ⟩, with the position it took in the agreed sequence.
Contents
The answer to a Cmd::Read.
SessionEnded
The scope with peer ended at epoch, as reliable broadcast beneath reported it.
Propagated rather than absorbed: this layer’s only redundancy is the broadcast’s, which relays once and cannot resend across an ending, so it cannot bridge either. Raised only over a link that reports boundaries, which the default stack’s perfect link does not.
SessionEstablished
A scope with peer is in force at epoch.
Trait Implementations§
impl<V: Eq> Eq for Ind<V>
impl<V: PartialEq> StructuralPartialEq for Ind<V>
Auto Trait Implementations§
impl<V> Freeze for Ind<V>where
V: Freeze,
impl<V> RefUnwindSafe for Ind<V>where
V: RefUnwindSafe,
impl<V> Send for Ind<V>where
V: Send,
impl<V> Sync for Ind<V>where
V: Sync,
impl<V> Unpin for Ind<V>where
V: Unpin,
impl<V> UnsafeUnpin for Ind<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Ind<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