pub struct Replicated {
pub appended: u64,
pub head: Option<ContentHash>,
}Expand description
What a SequencerHandle::replicate call appended.
Fields§
§appended: u64Entries appended and folded, all of the batch.
head: Option<ContentHash>Content hash of the last one appended, the log’s new head; None
for an empty batch.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Replicated
impl RefUnwindSafe for Replicated
impl Send for Replicated
impl Sync for Replicated
impl Unpin for Replicated
impl UnsafeUnpin for Replicated
impl UnwindSafe for Replicated
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