pub enum DecisionCacheOutcome {
Hit,
Refreshed,
Miss,
Bypassed,
Refused,
}Variants§
Hit
Served from an entry with no request dispatched again.
Refreshed
Served from an entry with at least one request dispatched again.
Miss
No usable entry, or a hit abandoned under recompute.
Bypassed
Neither served nor admitted; run under execute_independent.
Refused
The same conditions under admission: refuse.
Trait Implementations§
Source§impl Clone for DecisionCacheOutcome
impl Clone for DecisionCacheOutcome
impl Copy for DecisionCacheOutcome
Source§impl Debug for DecisionCacheOutcome
impl Debug for DecisionCacheOutcome
Source§impl<'de> Deserialize<'de> for DecisionCacheOutcome
impl<'de> Deserialize<'de> for DecisionCacheOutcome
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 DecisionCacheOutcome
Source§impl JsonSchema for DecisionCacheOutcome
impl JsonSchema for DecisionCacheOutcome
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DecisionCacheOutcome
impl PartialEq for DecisionCacheOutcome
Source§impl Serialize for DecisionCacheOutcome
impl Serialize for DecisionCacheOutcome
impl StructuralPartialEq for DecisionCacheOutcome
Auto Trait Implementations§
impl Freeze for DecisionCacheOutcome
impl RefUnwindSafe for DecisionCacheOutcome
impl Send for DecisionCacheOutcome
impl Sync for DecisionCacheOutcome
impl Unpin for DecisionCacheOutcome
impl UnsafeUnpin for DecisionCacheOutcome
impl UnwindSafe for DecisionCacheOutcome
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