Struct CountedCaptureAnalysis
pub struct CountedCaptureAnalysis {
pub classifier_revision: u16,
pub order_work: usize,
pub domain: CanonicalDomain,
pub scope: ValueId,
pub counts: CounterSnapshot,
pub retained_samples: usize,
pub sample_values: Box<[ValueId]>,
pub variants: Box<[AnalyzedCaptureVariant]>,
pub orders: Box<[CaptureOrderAnalysis]>,
pub numeric: Box<[CaptureNumericDistribution]>,
pub network_hints: Box<[NetworkHintVariant]>,
}Available on crate features
std and ua only.Fields§
§classifier_revision: u16§order_work: usize§domain: CanonicalDomain§scope: ValueId§counts: CounterSnapshot§retained_samples: usize§sample_values: Box<[ValueId]>§variants: Box<[AnalyzedCaptureVariant]>Complete values preserve correlations. An order rule alone is not a replay profile.
orders: Box<[CaptureOrderAnalysis]>§numeric: Box<[CaptureNumericDistribution]>§network_hints: Box<[NetworkHintVariant]>Per-request network quality hints, drawn apart from the variants that hold their placeholders.
Implementations§
§impl CountedCaptureAnalysis
impl CountedCaptureAnalysis
pub fn shuffles_tls_extensions(&self) -> bool
pub fn shuffles_tls_extensions(&self) -> bool
Whether the client shuffles its TLS extension order per connection.
pub fn read_extension_order(
&self,
value: &CanonicalValue,
config: OrderAnalysisConfig,
) -> Result<CanonicalValue, ProfileDataError>
pub fn read_extension_order( &self, value: &CanonicalValue, config: OrderAnalysisConfig, ) -> Result<CanonicalValue, ProfileDataError>
value as this analysis reads it, so a value captured elsewhere compares to its variants.
Trait Implementations§
§impl Clone for CountedCaptureAnalysis
impl Clone for CountedCaptureAnalysis
§fn clone(&self) -> CountedCaptureAnalysis
fn clone(&self) -> CountedCaptureAnalysis
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 more§impl Debug for CountedCaptureAnalysis
impl Debug for CountedCaptureAnalysis
§impl<'de> Deserialize<'de> for CountedCaptureAnalysis
impl<'de> Deserialize<'de> for CountedCaptureAnalysis
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CountedCaptureAnalysis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CountedCaptureAnalysis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for CountedCaptureAnalysis
impl Serialize for CountedCaptureAnalysis
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Forget for CountedCaptureAnalysis
impl Freeze for CountedCaptureAnalysiswhere
*const [LiteralCount] is !null: Freeze,
PhantomData<[LiteralCount]>: Freeze,
*const [ValueId] is !null: Freeze,
PhantomData<[ValueId]>: Freeze,
*const [AnalyzedCaptureVariant] is !null: Freeze,
PhantomData<[AnalyzedCaptureVariant]>: Freeze,
*const [CaptureOrderAnalysis] is !null: Freeze,
PhantomData<[CaptureOrderAnalysis]>: Freeze,
*const [CaptureNumericDistribution] is !null: Freeze,
PhantomData<[CaptureNumericDistribution]>: Freeze,
*const [NetworkHintVariant] is !null: Freeze,
PhantomData<[NetworkHintVariant]>: Freeze,
impl Move for CountedCaptureAnalysis
impl RefUnwindSafe for CountedCaptureAnalysis
impl Send for CountedCaptureAnalysiswhere
BoxRaw<[LiteralCount]>: Send,
BoxRaw<[ValueId]>: Send,
BoxRaw<[AnalyzedCaptureVariant]>: Send,
BoxRaw<[CaptureOrderAnalysis]>: Send,
BoxRaw<[CaptureNumericDistribution]>: Send,
BoxRaw<[NetworkHintVariant]>: Send,
impl Sync for CountedCaptureAnalysiswhere
BoxRaw<[LiteralCount]>: Sync,
BoxRaw<[ValueId]>: Sync,
BoxRaw<[AnalyzedCaptureVariant]>: Sync,
BoxRaw<[CaptureOrderAnalysis]>: Sync,
BoxRaw<[CaptureNumericDistribution]>: Sync,
BoxRaw<[NetworkHintVariant]>: Sync,
impl Unpin for CountedCaptureAnalysiswhere
Box<[LiteralCount]>: Unpin,
Box<[ValueId]>: Unpin,
Box<[AnalyzedCaptureVariant]>: Unpin,
Box<[CaptureOrderAnalysis]>: Unpin,
Box<[CaptureNumericDistribution]>: Unpin,
Box<[NetworkHintVariant]>: Unpin,
impl UnsafeUnpin for CountedCaptureAnalysiswhere
*const [LiteralCount] is !null: UnsafeUnpin,
PhantomData<[LiteralCount]>: UnsafeUnpin,
*const [ValueId] is !null: UnsafeUnpin,
PhantomData<[ValueId]>: UnsafeUnpin,
*const [AnalyzedCaptureVariant] is !null: UnsafeUnpin,
PhantomData<[AnalyzedCaptureVariant]>: UnsafeUnpin,
*const [CaptureOrderAnalysis] is !null: UnsafeUnpin,
PhantomData<[CaptureOrderAnalysis]>: UnsafeUnpin,
*const [CaptureNumericDistribution] is !null: UnsafeUnpin,
PhantomData<[CaptureNumericDistribution]>: UnsafeUnpin,
*const [NetworkHintVariant] is !null: UnsafeUnpin,
PhantomData<[NetworkHintVariant]>: UnsafeUnpin,
impl UnwindSafe for CountedCaptureAnalysiswhere
BoxRaw<[LiteralCount]>: UnwindSafe,
BoxRaw<[ValueId]>: UnwindSafe,
BoxRaw<[AnalyzedCaptureVariant]>: UnwindSafe,
BoxRaw<[CaptureOrderAnalysis]>: UnwindSafe,
BoxRaw<[CaptureNumericDistribution]>: UnwindSafe,
BoxRaw<[NetworkHintVariant]>: UnwindSafe,
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a rama_grpc::Request§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§fn and<P, B, E>(self, other: P) -> And<T, P>
fn and<P, B, E>(self, other: P) -> And<T, P>
Create a new
Policy that returns Action::Follow only if self and other return
Action::Follow. Read more