pub enum Stored {
Fresh,
Document(Value),
Foreign,
}Expand description
What the store holds, read as readVersioned reads it.
Variants§
Fresh
Nothing usable (no value, or not a stats document): count from zero.
Document(Value)
A stats document (an unversioned one reads as version 1).
Foreign
A document in a format version this build does not know: counted in memory, never overwritten.
Auto Trait Implementations§
impl Forget for Stored
impl Freeze for Stored
impl Move for Stored
impl RefUnwindSafe for Stored
impl Send for Stored
impl Sync for Stored
impl Unpin for Stored
impl UnsafeUnpin for Stored
impl UnwindSafe for Stored
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