pub struct LedgerHead(/* private fields */);Expand description
The seq of the last record the city has broadcast, readable without a lock.
An atomic rather than a field behind the views’ lock, because a reader may hold the views for a long time and a hello must not wait for it. Stores the seq plus one, so zero is a ledger with no record.
Implementations§
Source§impl LedgerHead
impl LedgerHead
Trait Implementations§
Source§impl Debug for LedgerHead
impl Debug for LedgerHead
Auto Trait Implementations§
impl !Freeze for LedgerHead
impl RefUnwindSafe for LedgerHead
impl Send for LedgerHead
impl Sync for LedgerHead
impl Unpin for LedgerHead
impl UnsafeUnpin for LedgerHead
impl UnwindSafe for LedgerHead
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