pub enum CtxLogField {
Show 41 variants
ConnectionId,
UpstreamReused,
UpstreamStatus,
UpstreamAddr,
Processing,
UpstreamConnected,
UpstreamConnectTime,
UpstreamConnectTimeHuman,
UpstreamProcessingTime,
UpstreamProcessingTimeHuman,
UpstreamResponseTime,
UpstreamResponseTimeHuman,
UpstreamTcpConnectTime,
UpstreamTcpConnectTimeHuman,
UpstreamTlsHandshakeTime,
UpstreamTlsHandshakeTimeHuman,
UpstreamConnectOffloadWaitTime,
UpstreamConnectOffloadWaitTimeHuman,
UpstreamConnectionTime,
UpstreamConnectionTimeHuman,
ConnectionTime,
ConnectionTimeHuman,
Location,
ConnectionReused,
TlsVersion,
TlsCipher,
Ja4,
Ja4R,
Ja4O,
Ja4Ro,
TlsHandshakeTime,
TlsHandshakeTimeHuman,
CompressionTime,
CompressionTimeHuman,
CompressionRatio,
CacheLookupTime,
CacheLookupTimeHuman,
CacheLockTime,
CacheLockTimeHuman,
ServiceTime,
ServiceTimeHuman,
}Expand description
A Ctx value the access log can print. The {:name} in a log format
parses into one of these once, when the format is read, so writing a
log line dispatches on an enum instead of comparing the name against
every key on every request.
Variants§
ConnectionId
UpstreamReused
UpstreamStatus
UpstreamAddr
Processing
UpstreamConnected
UpstreamConnectTime
UpstreamConnectTimeHuman
UpstreamProcessingTime
UpstreamProcessingTimeHuman
UpstreamResponseTime
UpstreamResponseTimeHuman
UpstreamTcpConnectTime
UpstreamTcpConnectTimeHuman
UpstreamTlsHandshakeTime
UpstreamTlsHandshakeTimeHuman
UpstreamConnectOffloadWaitTime
UpstreamConnectOffloadWaitTimeHuman
UpstreamConnectionTime
UpstreamConnectionTimeHuman
ConnectionTime
ConnectionTimeHuman
Location
ConnectionReused
TlsVersion
TlsCipher
Ja4
Ja4R
Ja4O
Ja4Ro
TlsHandshakeTime
TlsHandshakeTimeHuman
CompressionTime
CompressionTimeHuman
CompressionRatio
CacheLookupTime
CacheLookupTimeHuman
CacheLockTime
CacheLockTimeHuman
ServiceTime
ServiceTimeHuman
Trait Implementations§
Source§impl Clone for CtxLogField
impl Clone for CtxLogField
impl Copy for CtxLogField
Source§impl Debug for CtxLogField
impl Debug for CtxLogField
Source§impl Display for CtxLogField
impl Display for CtxLogField
impl Eq for CtxLogField
Source§impl FromStr for CtxLogField
impl FromStr for CtxLogField
Source§impl PartialEq for CtxLogField
impl PartialEq for CtxLogField
impl StructuralPartialEq for CtxLogField
Auto Trait Implementations§
impl Freeze for CtxLogField
impl RefUnwindSafe for CtxLogField
impl Send for CtxLogField
impl Sync for CtxLogField
impl Unpin for CtxLogField
impl UnsafeUnpin for CtxLogField
impl UnwindSafe for CtxLogField
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
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,
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.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.