pub enum ServingMode {
Off,
Evaluate,
Shadow,
Active {
approval: String,
},
}Expand description
Authority granted to VGR decisions.
Variants§
Off
Always serves cloud without producing an attempt.
Evaluate
Serves decisions, for isolated measurement.
Shadow
Decides but always serves cloud.
Active
Serves decisions after operator approval.
Trait Implementations§
Source§impl Clone for ServingMode
impl Clone for ServingMode
Source§fn clone(&self) -> ServingMode
fn clone(&self) -> ServingMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.