pub enum Recorded {
Hit {
key: String,
},
Saved {
key: String,
},
Missed,
Unrecorded,
Failed {
reason: String,
},
}Expand description
How a task with qk:ultracache was keyed.
Variants§
Hit
One of its path sets’ keys had a result, restored under that key.
Saved
This run recorded it, and stored its result under its new key.
Missed
None of its path sets’ keys had a result, and this run did not record.
Unrecorded
It has no path set yet, and this run did not record one: it was keyed by its declared inputs.
Failed
Recording it failed, with why.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Recorded
impl<'de> Deserialize<'de> for Recorded
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Recorded
impl StructuralPartialEq for Recorded
Auto Trait Implementations§
impl Freeze for Recorded
impl RefUnwindSafe for Recorded
impl Send for Recorded
impl Sync for Recorded
impl Unpin for Recorded
impl UnsafeUnpin for Recorded
impl UnwindSafe for Recorded
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.