Enum LegacyFieldValue
pub enum LegacyFieldValue {
H1Settings {
title_case_headers: bool,
},
Headers(LegacyHeaderCapture),
H2Settings {
pseudo: Option<PseudoHeaderCapture>,
early: Option<H2Capture>,
},
TcpTls(TlsCapture),
WsTlsAlpn(Option<Box<[Box<[u8]>]>>),
Runtime(Box<RuntimeProfileCapture>),
}Available on crate features
std and ua only.Variants§
H1Settings
Headers(LegacyHeaderCapture)
H2Settings
TcpTls(TlsCapture)
Available on crate feature
tls only.WsTlsAlpn(Option<Box<[Box<[u8]>]>>)
Runtime(Box<RuntimeProfileCapture>)
Trait Implementations§
§impl Clone for LegacyFieldValue
impl Clone for LegacyFieldValue
§fn clone(&self) -> LegacyFieldValue
fn clone(&self) -> LegacyFieldValue
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 LegacyFieldValue
impl Debug for LegacyFieldValue
§impl Serialize for LegacyFieldValue
impl Serialize for LegacyFieldValue
§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 LegacyFieldValue
impl Freeze for LegacyFieldValuewhere
*const [HeaderOccurrence] is !null: Freeze,
PhantomData<[HeaderOccurrence]>: Freeze,
*const [PseudoHeaderOccurrence] is !null: Freeze,
PhantomData<[PseudoHeaderOccurrence]>: Freeze,
*const [H2CapturedFrame] is !null: Freeze,
PhantomData<[H2CapturedFrame]>: Freeze,
*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 [Box<[u8]>] is !null: Freeze,
PhantomData<[Box<[u8]>]>: Freeze,
*const RuntimeProfileCapture is !null: Freeze,
PhantomData<RuntimeProfileCapture>: Freeze,
impl Move for LegacyFieldValue
impl RefUnwindSafe for LegacyFieldValue
impl Send for LegacyFieldValuewhere
BoxRaw<[HeaderOccurrence]>: Send,
BoxRaw<[PseudoHeaderOccurrence]>: Send,
BoxRaw<[H2CapturedFrame]>: Send,
BoxRaw<[u16]>: Send,
BoxRaw<[u8]>: Send,
BoxRaw<[TlsCapturedExtension]>: Send,
BoxRaw<[Box<[u8]>]>: Send,
BoxRaw<RuntimeProfileCapture>: Send,
impl Sync for LegacyFieldValuewhere
BoxRaw<[HeaderOccurrence]>: Sync,
BoxRaw<[PseudoHeaderOccurrence]>: Sync,
BoxRaw<[H2CapturedFrame]>: Sync,
BoxRaw<[u16]>: Sync,
BoxRaw<[u8]>: Sync,
BoxRaw<[TlsCapturedExtension]>: Sync,
BoxRaw<[Box<[u8]>]>: Sync,
BoxRaw<RuntimeProfileCapture>: Sync,
impl Unpin for LegacyFieldValuewhere
Box<[HeaderOccurrence]>: Unpin,
Box<[PseudoHeaderOccurrence]>: Unpin,
Box<[H2CapturedFrame]>: Unpin,
Box<[u16]>: Unpin,
Box<[u8]>: Unpin,
Box<[TlsCapturedExtension]>: Unpin,
Box<[Box<[u8]>]>: Unpin,
Box<RuntimeProfileCapture>: Unpin,
impl UnsafeUnpin for LegacyFieldValuewhere
*const [HeaderOccurrence] is !null: UnsafeUnpin,
PhantomData<[HeaderOccurrence]>: UnsafeUnpin,
*const [PseudoHeaderOccurrence] is !null: UnsafeUnpin,
PhantomData<[PseudoHeaderOccurrence]>: UnsafeUnpin,
*const [H2CapturedFrame] is !null: UnsafeUnpin,
PhantomData<[H2CapturedFrame]>: UnsafeUnpin,
*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 [Box<[u8]>] is !null: UnsafeUnpin,
PhantomData<[Box<[u8]>]>: UnsafeUnpin,
*const RuntimeProfileCapture is !null: UnsafeUnpin,
PhantomData<RuntimeProfileCapture>: UnsafeUnpin,
impl UnwindSafe for LegacyFieldValuewhere
BoxRaw<[HeaderOccurrence]>: UnwindSafe,
BoxRaw<[PseudoHeaderOccurrence]>: UnwindSafe,
BoxRaw<[H2CapturedFrame]>: UnwindSafe,
BoxRaw<[u16]>: UnwindSafe,
BoxRaw<[u8]>: UnwindSafe,
BoxRaw<[TlsCapturedExtension]>: UnwindSafe,
BoxRaw<[Box<[u8]>]>: UnwindSafe,
BoxRaw<RuntimeProfileCapture>: 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