pub struct Kept {
pub value: Value,
pub meta: Vec<(String, String)>,
}Expand description
Something that was kept, on the way back: the value, and what was said beside it. The metadata comes back because the fingerprint of the code is not in the key — it is written next to the value and compared on a hit.
Fields§
§value: ValueWhat was kept.
meta: Vec<(String, String)>What was said beside it, in the order it was said.
Trait Implementations§
impl StructuralPartialEq for Kept
Auto Trait Implementations§
impl Freeze for Kept
impl !RefUnwindSafe for Kept
impl Send for Kept
impl Sync for Kept
impl Unpin for Kept
impl UnsafeUnpin for Kept
impl !UnwindSafe for Kept
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