pub struct RoutePlanCandidateRuntimeSnapshot {Show 15 fields
pub runtime_available: bool,
pub routable_except_usage: bool,
pub hard_unavailable: bool,
pub runtime_disabled: bool,
pub cooldown_active: bool,
pub cooldown_remaining_secs: Option<u64>,
pub breaker_open: bool,
pub failure_count: u32,
pub usage_exhausted: bool,
pub missing_auth: bool,
pub concurrency_saturated: bool,
pub concurrency_active: Option<u32>,
pub concurrency_limit: Option<u32>,
pub effective_max_concurrent_requests: Option<u32>,
pub effective_limit_group: Option<String>,
}Fields§
§runtime_available: bool§routable_except_usage: bool§runtime_disabled: bool§cooldown_active: bool§cooldown_remaining_secs: Option<u64>§breaker_open: bool§failure_count: u32§usage_exhausted: bool§missing_auth: bool§concurrency_saturated: bool§concurrency_active: Option<u32>§concurrency_limit: Option<u32>§effective_max_concurrent_requests: Option<u32>§effective_limit_group: Option<String>Implementations§
Source§impl RoutePlanCandidateRuntimeSnapshot
impl RoutePlanCandidateRuntimeSnapshot
pub fn skip_reasons_for_candidate( &self, candidate: &RouteCandidate, request_model: Option<&str>, ) -> Vec<RoutePlanSkipReason>
pub fn runtime_skip_reasons(&self) -> Vec<RoutePlanSkipReason>
pub fn dominant_runtime_skip_reason(&self) -> Option<RoutePlanSkipReason>
Trait Implementations§
Source§impl Clone for RoutePlanCandidateRuntimeSnapshot
impl Clone for RoutePlanCandidateRuntimeSnapshot
Source§fn clone(&self) -> RoutePlanCandidateRuntimeSnapshot
fn clone(&self) -> RoutePlanCandidateRuntimeSnapshot
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 Default for RoutePlanCandidateRuntimeSnapshot
impl Default for RoutePlanCandidateRuntimeSnapshot
Source§fn default() -> RoutePlanCandidateRuntimeSnapshot
fn default() -> RoutePlanCandidateRuntimeSnapshot
Returns the “default value” for a type. Read more
impl Eq for RoutePlanCandidateRuntimeSnapshot
impl StructuralPartialEq for RoutePlanCandidateRuntimeSnapshot
Auto Trait Implementations§
impl Freeze for RoutePlanCandidateRuntimeSnapshot
impl RefUnwindSafe for RoutePlanCandidateRuntimeSnapshot
impl Send for RoutePlanCandidateRuntimeSnapshot
impl Sync for RoutePlanCandidateRuntimeSnapshot
impl Unpin for RoutePlanCandidateRuntimeSnapshot
impl UnsafeUnpin for RoutePlanCandidateRuntimeSnapshot
impl UnwindSafe for RoutePlanCandidateRuntimeSnapshot
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.