pub enum Record<P> {
Pending(BroadcastId, P),
Delivered(BroadcastId, P),
}Expand description
One thing written down. Replaying these in order rebuilds pending and delivered.
Variants§
Pending(BroadcastId, P)
Seen, and being re-broadcast until a majority has it.
Delivered(BroadcastId, P)
Log-delivered.
Trait Implementations§
impl<P: Eq> Eq for Record<P>
impl<P: PartialEq> StructuralPartialEq for Record<P>
Auto Trait Implementations§
impl<P> Freeze for Record<P>where
P: Freeze,
impl<P> RefUnwindSafe for Record<P>where
P: RefUnwindSafe,
impl<P> Send for Record<P>where
P: Send,
impl<P> Sync for Record<P>where
P: Sync,
impl<P> Unpin for Record<P>where
P: Unpin,
impl<P> UnsafeUnpin for Record<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for Record<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