Struct PreparedConnectionComponents
pub struct PreparedConnectionComponents {
pub tls: Option<TlsCapture>,
pub tls_outer: Option<TlsCapture>,
pub quic_parameters: Option<OrderedProtocolCapture>,
pub quic_outer_parameters: Option<OrderedProtocolCapture>,
pub h3_peer_settings: Option<OrderedProtocolCapture>,
pub h3_settings_evidence: Option<H3SettingsReplayEvidence>,
pub quic_versions: Option<OrderedProtocolCapture>,
pub h2_early_frames: Option<Arc<[EarlyFrame]>>,
pub quic_first_flight: Option<QuicFlightCapture>,
pub h3_sequence: Option<H3ClientSequenceCapture>,
pub h3_bootstrap: Option<H3BootstrapCapture>,
pub preservation_report: ProfilePreservationReport,
}Available on crate features
std and ua only.Expand description
Typed, bounded components decoded from one immutable connection selection.
Fields§
§tls: Option<TlsCapture>Available on crate feature
§tls only.tls_outer: Option<TlsCapture>Available on crate feature
§tls only.quic_parameters: Option<OrderedProtocolCapture>§quic_outer_parameters: Option<OrderedProtocolCapture>§h3_peer_settings: Option<OrderedProtocolCapture>§h3_settings_evidence: Option<H3SettingsReplayEvidence>§quic_versions: Option<OrderedProtocolCapture>§h2_early_frames: Option<Arc<[EarlyFrame]>>§quic_first_flight: Option<QuicFlightCapture>§h3_sequence: Option<H3ClientSequenceCapture>§h3_bootstrap: Option<H3BootstrapCapture>§preservation_report: ProfilePreservationReportImplementations§
§impl PreparedConnectionComponents
impl PreparedConnectionComponents
pub fn use_ech_outer_for_replay(
&mut self,
ech_ready: bool,
) -> Result<(), Box<dyn Error + Sync + Send>>
Available on crate feature tls only.
pub fn use_ech_outer_for_replay( &mut self, ech_ready: bool, ) -> Result<(), Box<dyn Error + Sync + Send>>
tls only.Use the matched outer as the native offer. With ech_ready, the selection’s
ConnectionSelection::ech_ready, native ECH must preserve the stored inner,
including ordered GREASE slots. Otherwise the selection drew the pair as a
GREASE offer: the outer is sent alone, its ECH extension as GREASE.
pub fn h3_client_settings(
&self,
draw: &mut ProfileDraw,
) -> Result<Option<ClientSettingsProfile>, ProfileDataError>
pub fn h3_client_settings( &self, draw: &mut ProfileDraw, ) -> Result<Option<ClientSettingsProfile>, ProfileDataError>
Compile literal or variance-derived SETTINGS using a connection-scoped draw. Unanalyzed reserved fields are replayed literally and reported at preparation.
Trait Implementations§
§impl Clone for PreparedConnectionComponents
impl Clone for PreparedConnectionComponents
§fn clone(&self) -> PreparedConnectionComponents
fn clone(&self) -> PreparedConnectionComponents
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 PreparedConnectionComponents
impl Debug for PreparedConnectionComponents
§impl Extension for PreparedConnectionComponents
impl Extension for PreparedConnectionComponents
§fn scope() -> ExtensionScope
fn scope() -> ExtensionScope
How far up an
Extensions chain a lookup of this type resolves,
ExtensionScope::Flow unless the type says otherwise.impl UaExtension for PreparedConnectionComponents
Auto Trait Implementations§
impl Forget for PreparedConnectionComponents
impl Freeze for PreparedConnectionComponentswhere
*const [u16] is !null: Freeze,
PhantomData<[u16]>: Freeze,
*const [u8] is !null: Freeze,
PhantomData<[u8]>: Freeze,
*const [TlsCapturedExtension] is !null: Freeze,
PhantomData<[TlsCapturedExtension]>: Freeze,
*const [OrderedProtocolField] is !null: Freeze,
PhantomData<[OrderedProtocolField]>: Freeze,
*const [Option<ReservedSettingGenerator>] is !null: Freeze,
PhantomData<[Option<ReservedSettingGenerator>]>: Freeze,
*const ArcInner<[EarlyFrame]> is !null: Freeze,
PhantomData<ArcInner<[EarlyFrame]>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Vec<ObservedFrame>>: Freeze,
PhantomData<TransportParameterId>: Freeze,
PhantomData<Version>: Freeze,
PhantomData<u64>: Freeze,
*const [H3CapturedEvent] is !null: Freeze,
PhantomData<[H3CapturedEvent]>: Freeze,
*const [ObservedEncoderInstruction] is !null: Freeze,
PhantomData<[ObservedEncoderInstruction]>: Freeze,
PhantomData<ObservedInsertionBinding>: Freeze,
*const [ProfilePreservationDifference] is !null: Freeze,
PhantomData<[ProfilePreservationDifference]>: Freeze,
impl Move for PreparedConnectionComponents
impl RefUnwindSafe for PreparedConnectionComponents
impl Send for PreparedConnectionComponentswhere
BoxRaw<[u16]>: Send,
BoxRaw<[u8]>: Send,
BoxRaw<[TlsCapturedExtension]>: Send,
BoxRaw<[OrderedProtocolField]>: Send,
BoxRaw<[Option<ReservedSettingGenerator>]>: Send,
Arc<[EarlyFrame]>: Send,
RawVecInner: Send,
BoxRaw<[H3CapturedEvent]>: Send,
BoxRaw<[ObservedEncoderInstruction]>: Send,
BoxRaw<[ProfilePreservationDifference]>: Send,
impl Sync for PreparedConnectionComponentswhere
BoxRaw<[u16]>: Sync,
BoxRaw<[u8]>: Sync,
BoxRaw<[TlsCapturedExtension]>: Sync,
BoxRaw<[OrderedProtocolField]>: Sync,
BoxRaw<[Option<ReservedSettingGenerator>]>: Sync,
Arc<[EarlyFrame]>: Sync,
RawVecInner: Sync,
BoxRaw<[H3CapturedEvent]>: Sync,
BoxRaw<[ObservedEncoderInstruction]>: Sync,
BoxRaw<[ProfilePreservationDifference]>: Sync,
impl Unpin for PreparedConnectionComponentswhere
Box<[u16]>: Unpin,
Box<[u8]>: Unpin,
Box<[TlsCapturedExtension]>: Unpin,
Box<[OrderedProtocolField]>: Unpin,
Box<[Option<ReservedSettingGenerator>]>: Unpin,
Arc<[EarlyFrame]>: Unpin,
*const u8 is !null: Unpin,
Box<[H3CapturedEvent]>: Unpin,
Box<[ObservedEncoderInstruction]>: Unpin,
Box<[ProfilePreservationDifference]>: Unpin,
impl UnsafeUnpin for PreparedConnectionComponentswhere
*const [u16] is !null: UnsafeUnpin,
PhantomData<[u16]>: UnsafeUnpin,
*const [u8] is !null: UnsafeUnpin,
PhantomData<[u8]>: UnsafeUnpin,
*const [TlsCapturedExtension] is !null: UnsafeUnpin,
PhantomData<[TlsCapturedExtension]>: UnsafeUnpin,
*const [OrderedProtocolField] is !null: UnsafeUnpin,
PhantomData<[OrderedProtocolField]>: UnsafeUnpin,
*const [Option<ReservedSettingGenerator>] is !null: UnsafeUnpin,
PhantomData<[Option<ReservedSettingGenerator>]>: UnsafeUnpin,
*const ArcInner<[EarlyFrame]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[EarlyFrame]>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Vec<ObservedFrame>>: UnsafeUnpin,
PhantomData<TransportParameterId>: UnsafeUnpin,
PhantomData<Version>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
*const [H3CapturedEvent] is !null: UnsafeUnpin,
PhantomData<[H3CapturedEvent]>: UnsafeUnpin,
*const [ObservedEncoderInstruction] is !null: UnsafeUnpin,
PhantomData<[ObservedEncoderInstruction]>: UnsafeUnpin,
PhantomData<ObservedInsertionBinding>: UnsafeUnpin,
*const [ProfilePreservationDifference] is !null: UnsafeUnpin,
PhantomData<[ProfilePreservationDifference]>: UnsafeUnpin,
impl UnwindSafe for PreparedConnectionComponentswhere
BoxRaw<[u16]>: UnwindSafe,
BoxRaw<[u8]>: UnwindSafe,
BoxRaw<[TlsCapturedExtension]>: UnwindSafe,
BoxRaw<[OrderedProtocolField]>: UnwindSafe,
BoxRaw<[Option<ReservedSettingGenerator>]>: UnwindSafe,
Arc<[EarlyFrame]>: UnwindSafe,
RawVecInner: UnwindSafe,
BoxRaw<[H3CapturedEvent]>: UnwindSafe,
BoxRaw<[ObservedEncoderInstruction]>: UnwindSafe,
BoxRaw<[ProfilePreservationDifference]>: 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> 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