pub struct Clocks {
pub valid_at: ClockTime,
pub observed_at: ClockTime,
pub committed_at: ClockTime,
pub invalid_at: Option<ClockTime>,
}Expand description
Four clocks plus the projection/stale flags, shared across the four
memory record shapes. Episodic adds at_time separately.
Fields§
§valid_at: ClockTimeWhen the fact becomes true in the world.
observed_at: ClockTimeWhen the librarian observed the memory. For non-Episodic
memories this equals committed_at.
committed_at: ClockTimeWhen the librarian durably committed the record.
invalid_at: Option<ClockTime>When the fact stopped being true. None while current.
Trait Implementations§
impl Copy for Clocks
impl Eq for Clocks
impl StructuralPartialEq for Clocks
Auto Trait Implementations§
impl Freeze for Clocks
impl RefUnwindSafe for Clocks
impl Send for Clocks
impl Sync for Clocks
impl Unpin for Clocks
impl UnsafeUnpin for Clocks
impl UnwindSafe for Clocks
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.