pub struct ContextReading(/* private fields */);Expand description
The provider’s count for the last call a run completed, shared with whoever reports it.
One cell with one writer: the run records each count before its gauge
reads it, and status reads the cell when a model asks. A snapshot
frozen at dispatch cannot carry this figure, because nothing has been
called at dispatch and the figure moves every turn. Relaxed ordering
is enough: the value is one word and nothing is ordered against it.
Implementations§
Trait Implementations§
Source§impl Clone for ContextReading
impl Clone for ContextReading
Source§impl Debug for ContextReading
impl Debug for ContextReading
Auto Trait Implementations§
impl Freeze for ContextReading
impl RefUnwindSafe for ContextReading
impl Send for ContextReading
impl Sync for ContextReading
impl Unpin for ContextReading
impl UnsafeUnpin for ContextReading
impl UnwindSafe for ContextReading
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