pub struct OutlierDetection {Show 22 fields
pub consecutive_5xx: Option<u32>,
pub interval: Option<Duration>,
pub base_ejection_time: Option<Duration>,
pub max_ejection_percent: Option<u32>,
pub enforcing_consecutive_5xx: Option<u32>,
pub enforcing_success_rate: Option<u32>,
pub success_rate_minimum_hosts: Option<u32>,
pub success_rate_request_volume: Option<u32>,
pub success_rate_stdev_factor: Option<u32>,
pub consecutive_gateway_failure: Option<u32>,
pub enforcing_consecutive_gateway_failure: Option<u32>,
pub split_external_local_origin_errors: bool,
pub consecutive_local_origin_failure: Option<u32>,
pub enforcing_consecutive_local_origin_failure: Option<u32>,
pub enforcing_local_origin_success_rate: Option<u32>,
pub failure_percentage_threshold: Option<u32>,
pub enforcing_failure_percentage: Option<u32>,
pub enforcing_failure_percentage_local_origin: Option<u32>,
pub failure_percentage_minimum_hosts: Option<u32>,
pub failure_percentage_request_volume: Option<u32>,
pub max_ejection_time: Option<Duration>,
pub max_ejection_time_jitter: Option<Duration>,
}
Fields
consecutive_5xx: Option<u32>
interval: Option<Duration>
base_ejection_time: Option<Duration>
max_ejection_percent: Option<u32>
enforcing_consecutive_5xx: Option<u32>
enforcing_success_rate: Option<u32>
success_rate_minimum_hosts: Option<u32>
success_rate_request_volume: Option<u32>
success_rate_stdev_factor: Option<u32>
consecutive_gateway_failure: Option<u32>
enforcing_consecutive_gateway_failure: Option<u32>
split_external_local_origin_errors: bool
consecutive_local_origin_failure: Option<u32>
enforcing_consecutive_local_origin_failure: Option<u32>
enforcing_local_origin_success_rate: Option<u32>
failure_percentage_threshold: Option<u32>
enforcing_failure_percentage: Option<u32>
enforcing_failure_percentage_local_origin: Option<u32>
failure_percentage_minimum_hosts: Option<u32>
failure_percentage_request_volume: Option<u32>
max_ejection_time: Option<Duration>
max_ejection_time_jitter: Option<Duration>
Trait Implementations
sourceimpl Clone for OutlierDetection
impl Clone for OutlierDetection
sourcefn clone(&self) -> OutlierDetection
fn clone(&self) -> OutlierDetection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OutlierDetection
impl Debug for OutlierDetection
sourceimpl Default for OutlierDetection
impl Default for OutlierDetection
sourceimpl Message for OutlierDetection
impl Message for OutlierDetection
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
sourcefn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Encodes the message to a buffer. Read more
sourcefn encode_to_vec(&self) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn encode_to_vec(&self) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Encodes the message to a newly allocated buffer.
sourcefn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Encodes the message with a length-delimiter to a buffer. Read more
sourcefn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn encode_length_delimited_to_vec(&self) -> Vec<u8, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
Encodes the message with a length-delimiter to a newly allocated buffer.
sourcefn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes an instance of the message from a buffer. Read more
sourcefn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
sourcefn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moresourcefn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
. Read moresourceimpl PartialEq<OutlierDetection> for OutlierDetection
impl PartialEq<OutlierDetection> for OutlierDetection
sourcefn eq(&self, other: &OutlierDetection) -> bool
fn eq(&self, other: &OutlierDetection) -> bool
impl StructuralPartialEq for OutlierDetection
Auto Trait Implementations
impl RefUnwindSafe for OutlierDetection
impl Send for OutlierDetection
impl Sync for OutlierDetection
impl Unpin for OutlierDetection
impl UnwindSafe for OutlierDetection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request