pub struct Sequenced {
pub entry: OpEntry,
pub hash: ContentHash,
}Expand description
An entry another writer already sequenced, and the hash the page that carried it claimed for it.
The claim travels beside the entry rather than being recomputed and
trusted: SequencerHandle::replicate refuses an entry whose content
does not hash to what its source said, which is SYNC.md’s second check
made again at the one place that appends.
Fields§
§entry: OpEntryThe entry, exactly as its writer sequenced it: seq, parent,
payload and signature untouched.
hash: ContentHashThe content hash its source claimed for it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sequenced
impl RefUnwindSafe for Sequenced
impl Send for Sequenced
impl Sync for Sequenced
impl Unpin for Sequenced
impl UnsafeUnpin for Sequenced
impl UnwindSafe for Sequenced
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