pub enum ControlTraceDetail {
RequestCompleted {
method: Option<String>,
path: Option<String>,
status_code: Option<u16>,
duration_ms: Option<u64>,
station_name: Option<String>,
provider_id: Option<String>,
upstream_base_url: Option<String>,
service_tier: ServiceTierLog,
},
RetryOptions {
upstream_max_attempts: Option<u32>,
provider_max_attempts: Option<u32>,
allow_cross_station_before_first_output: Option<bool>,
},
AttemptSelect {
station_name: Option<String>,
upstream_index: Option<u64>,
upstream_base_url: Option<String>,
provider_id: Option<String>,
endpoint_id: Option<String>,
provider_endpoint_key: Option<String>,
preference_group: Option<u64>,
model: Option<String>,
},
LoadBalancerSelection {
mode: Option<String>,
pinned_source: Option<String>,
pinned_name: Option<String>,
selected_station: Option<String>,
selected_stations: Vec<String>,
active_station: Option<String>,
note: Option<String>,
},
ProviderRuntimeOverride {
provider_name: Option<String>,
endpoint_name: Option<String>,
base_urls: Vec<String>,
enabled: Option<bool>,
clear_enabled: bool,
runtime_state: Option<String>,
clear_runtime_state: bool,
},
RouteExecutorShadowMismatch {
request_model: Option<String>,
legacy_attempt_count: usize,
executor_attempt_count: usize,
first_mismatch_index: Option<usize>,
legacy_station_name: Option<String>,
legacy_upstream_index: Option<u64>,
legacy_provider_id: Option<String>,
executor_station_name: Option<String>,
executor_upstream_index: Option<u64>,
executor_provider_id: Option<String>,
},
RouteGraphSelectionExplain {
request_model: Option<String>,
affinity_policy: Option<String>,
affinity_provider_endpoint_key: Option<String>,
selected_matches_affinity: Option<bool>,
selected_provider_id: Option<String>,
selected_endpoint_id: Option<String>,
selected_provider_endpoint_key: Option<String>,
selected_preference_group: Option<u64>,
skipped_higher_priority_groups: Vec<u64>,
skipped_higher_priority_candidates: Vec<ControlTraceRouteGraphSkippedCandidate>,
},
RetryEvent {
event_name: String,
station_name: Option<String>,
upstream_base_url: Option<String>,
mode: Option<String>,
note: Option<String>,
},
}Variants§
RequestCompleted
Fields
§
service_tier: ServiceTierLogRetryOptions
Fields
AttemptSelect
Fields
LoadBalancerSelection
Fields
ProviderRuntimeOverride
Fields
RouteExecutorShadowMismatch
Fields
RouteGraphSelectionExplain
Fields
RetryEvent
Trait Implementations§
Source§impl Clone for ControlTraceDetail
impl Clone for ControlTraceDetail
Source§fn clone(&self) -> ControlTraceDetail
fn clone(&self) -> ControlTraceDetail
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 ControlTraceDetail
impl Debug for ControlTraceDetail
Source§impl<'de> Deserialize<'de> for ControlTraceDetail
impl<'de> Deserialize<'de> for ControlTraceDetail
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
Source§impl PartialEq for ControlTraceDetail
impl PartialEq for ControlTraceDetail
Source§fn eq(&self, other: &ControlTraceDetail) -> bool
fn eq(&self, other: &ControlTraceDetail) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ControlTraceDetail
impl Serialize for ControlTraceDetail
impl Eq for ControlTraceDetail
impl StructuralPartialEq for ControlTraceDetail
Auto Trait Implementations§
impl Freeze for ControlTraceDetail
impl RefUnwindSafe for ControlTraceDetail
impl Send for ControlTraceDetail
impl Sync for ControlTraceDetail
impl Unpin for ControlTraceDetail
impl UnsafeUnpin for ControlTraceDetail
impl UnwindSafe for ControlTraceDetail
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,
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.