pub struct PositionedRecord {
pub position: GlobalPosition,
pub record: AuditRecord,
}Expand description
A sealed record together with its place in the order every stream shares.
The position is not part of the record: the digest covers what happened in one ceremony, and where the store filed it among other ceremonies is the store’s business. Pairing them here is what a cross-stream reader needs to keep a cursor.
Fields§
§position: GlobalPosition§record: AuditRecordTrait Implementations§
Source§impl Clone for PositionedRecord
impl Clone for PositionedRecord
Source§impl Debug for PositionedRecord
impl Debug for PositionedRecord
impl Eq for PositionedRecord
Source§impl PartialEq for PositionedRecord
impl PartialEq for PositionedRecord
impl StructuralPartialEq for PositionedRecord
Auto Trait Implementations§
impl Freeze for PositionedRecord
impl RefUnwindSafe for PositionedRecord
impl Send for PositionedRecord
impl Sync for PositionedRecord
impl Unpin for PositionedRecord
impl UnsafeUnpin for PositionedRecord
impl UnwindSafe for PositionedRecord
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