pub struct CommittedEntry {
pub position: LogPosition,
pub commit_ts: HlcTimestamp,
pub envelope: CommandEnvelope,
}Expand description
One committed log entry returned by CommitLog::read_committed.
Fields§
§position: LogPositionPosition of this entry in the log.
commit_ts: HlcTimestampCommit timestamp assigned by the log authority.
envelope: CommandEnvelopeThe committed command.
Trait Implementations§
Source§impl Clone for CommittedEntry
impl Clone for CommittedEntry
Source§fn clone(&self) -> CommittedEntry
fn clone(&self) -> CommittedEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CommittedEntry
impl RefUnwindSafe for CommittedEntry
impl Send for CommittedEntry
impl Sync for CommittedEntry
impl Unpin for CommittedEntry
impl UnsafeUnpin for CommittedEntry
impl UnwindSafe for CommittedEntry
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