pub enum ServingMode {
Off,
Evaluate,
Shadow,
Active {
approval: String,
},
}Expand description
How much authority a decision has over the traffic it decides.
The ladder exists because a routing decision and acting on that decision are separable, and the gap between them is where a new router earns trust: a deployment can measure what VGR would have done for as long as it likes before letting it do anything.
Variants§
Off
Decisions are not made. Every request goes to the capable tier.
The default, so a route that is configured but not yet consciously enabled cannot commit anything locally.
Evaluate
Decisions are made and reported, and the decided route is served.
For isolated measurement only: readiness gates are not applied, so this serves routes a production deployment would refuse.
Shadow
Decisions are made and reported, but the capable tier is always served.
The safe observation mode — full decision records at no routing risk.
Active
Decisions route traffic, subject to the readiness gates.
Requires an explicit attestation string, so enabling live local commits is a deliberate act rather than a config default someone inherited.
Trait Implementations§
Source§impl Clone for ServingMode
impl Clone for ServingMode
Source§fn clone(&self) -> ServingMode
fn clone(&self) -> ServingMode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ServingMode
impl Debug for ServingMode
Source§impl Default for ServingMode
impl Default for ServingMode
Source§fn default() -> ServingMode
fn default() -> ServingMode
Source§impl PartialEq for ServingMode
impl PartialEq for ServingMode
impl Eq for ServingMode
impl StructuralPartialEq for ServingMode
Auto Trait Implementations§
impl Freeze for ServingMode
impl RefUnwindSafe for ServingMode
impl Send for ServingMode
impl Sync for ServingMode
impl Unpin for ServingMode
impl UnsafeUnpin for ServingMode
impl UnwindSafe for ServingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.