pub enum OptimizationMechanism {
Independent,
Batch,
MemoryCache,
SharedCall,
PersistentCache,
DecisionCache,
}Variants§
Independent
Batch
MemoryCache
The output of an attempt shared with concurrent equivalent requests (spec 044, 3.2.5).
PersistentCache
The persistent request-level tier behind the host’s store (spec 044, 3.3 and 3.4).
DecisionCache
A request supplied from a decision-result cache entry, or refused with its decision (spec 044, 3.6.3 and 3.6.6).
Trait Implementations§
Source§impl Clone for OptimizationMechanism
impl Clone for OptimizationMechanism
impl Copy for OptimizationMechanism
Source§impl Debug for OptimizationMechanism
impl Debug for OptimizationMechanism
Source§impl<'de> Deserialize<'de> for OptimizationMechanism
impl<'de> Deserialize<'de> for OptimizationMechanism
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 OptimizationMechanism
Source§impl JsonSchema for OptimizationMechanism
impl JsonSchema for OptimizationMechanism
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 OptimizationMechanism
impl PartialEq for OptimizationMechanism
Source§impl Serialize for OptimizationMechanism
impl Serialize for OptimizationMechanism
impl StructuralPartialEq for OptimizationMechanism
Auto Trait Implementations§
impl Freeze for OptimizationMechanism
impl RefUnwindSafe for OptimizationMechanism
impl Send for OptimizationMechanism
impl Sync for OptimizationMechanism
impl Unpin for OptimizationMechanism
impl UnsafeUnpin for OptimizationMechanism
impl UnwindSafe for OptimizationMechanism
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