pub struct RoundCache {
pub revisions: Rc<Revisions>,
pub reused_rounds: Cell<usize>,
pub retained_records: Cell<usize>,
pub invalidated_slots: Cell<usize>,
/* private fields */
}Expand description
Retained round state. Values are memoized by member slots, without a second database copy; structural and reference reads use the same dependency graph.
Fields§
§revisions: Rc<Revisions>Revision verification for retained member slots.
reused_rounds: Cell<usize>Successfully reused round transitions.
retained_records: Cell<usize>Sum of retained record counts across transitions.
invalidated_slots: Cell<usize>Member computations invalidated across transitions.
Trait Implementations§
Source§impl Default for RoundCache
impl Default for RoundCache
Source§fn default() -> RoundCache
fn default() -> RoundCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RoundCache
impl !RefUnwindSafe for RoundCache
impl !Send for RoundCache
impl !Sync for RoundCache
impl !UnwindSafe for RoundCache
impl Unpin for RoundCache
impl UnsafeUnpin for RoundCache
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