pub struct Entry {
pub value: Value,
pub quality: &'static str,
pub t: i64,
pub error: Value,
}Expand description
A cache entry, sent as [value, quality, t, error].
Fields§
§value: ValueThe value, null unless good (or bad/stale with a kept value).
quality: &'static strgood, missing, bad or stale.
t: i64Milliseconds since the epoch of the read.
error: ValueNull when good, else {"kind", "message"}.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Entry
Auto Trait Implementations§
impl Freeze for Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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