pub enum PerCandidateReason {
RateLimited,
InsufficientQuota,
Unhealthy,
RejectedByPlugin,
}Expand description
Per-candidate evaluation reason.
Variants§
RateLimited
Candidate hit rate limit.
InsufficientQuota
Candidate has insufficient quota.
Unhealthy
Candidate is unhealthy.
RejectedByPlugin
Candidate rejected by plugin.
Trait Implementations§
Source§impl Clone for PerCandidateReason
impl Clone for PerCandidateReason
Source§fn clone(&self) -> PerCandidateReason
fn clone(&self) -> PerCandidateReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PerCandidateReason
impl Debug for PerCandidateReason
Source§impl<'de> Deserialize<'de> for PerCandidateReason
impl<'de> Deserialize<'de> for PerCandidateReason
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 PerCandidateReason
Source§impl PartialEq for PerCandidateReason
impl PartialEq for PerCandidateReason
Source§fn eq(&self, other: &PerCandidateReason) -> bool
fn eq(&self, other: &PerCandidateReason) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PerCandidateReason
impl Serialize for PerCandidateReason
impl StructuralPartialEq for PerCandidateReason
Auto Trait Implementations§
impl Freeze for PerCandidateReason
impl RefUnwindSafe for PerCandidateReason
impl Send for PerCandidateReason
impl Sync for PerCandidateReason
impl Unpin for PerCandidateReason
impl UnsafeUnpin for PerCandidateReason
impl UnwindSafe for PerCandidateReason
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