pub enum FieldPath {
Show 21 variants
Transport,
RemoteIp,
RemotePort,
LocalIp,
LocalPort,
Peek,
TlsSni,
TlsAlpn,
TlsVersion,
TlsPeerCertPresent,
TlsPeerCertSubjectCn,
TlsPeerCertSanDns,
TlsPeerCertFingerprintSha256,
TlsPeerCertSpkiSha256,
TlsPeerCertIssuerCn,
TlsPeerCertSerial,
HttpMethod,
HttpUriPath,
HttpUriQuery,
HttpHeader(Arc<str>),
HttpBody,
}Variants§
Transport
RemoteIp
RemotePort
LocalIp
LocalPort
Peek
TlsSni
TlsAlpn
TlsVersion
TlsPeerCertPresent
Was a verified peer cert presented this connection? Reads
tls.peer_cert.is_some(). Bool-typed.
TlsPeerCertSubjectCn
TlsPeerCertSanDns
DNS-type Subject Alternative Names from the verified peer
cert. Vec<Str>-typed: contains/not_contains against a
single-element operand are the only legal operators (per
spec/crates/core.md § Predicate).
TlsPeerCertFingerprintSha256
SHA-256 of the full DER-encoded leaf cert, lowercase hex.
TlsPeerCertSpkiSha256
SHA-256 of the cert’s SubjectPublicKeyInfo (rotation-stable
pin), lowercase hex.
TlsPeerCertIssuerCn
Issuer Common Name — useful for routing on which internal CA signed the client cert.
TlsPeerCertSerial
Cert serial number, lowercase hex, big-endian, no leading-zero stripping.
HttpMethod
HttpUriPath
HttpUriQuery
HttpHeader(Arc<str>)
HttpBody
Implementations§
Source§impl FieldPath
impl FieldPath
Sourcepub fn value_type(&self) -> FieldValueType
pub fn value_type(&self) -> FieldValueType
Authoritative FieldPath → value type mapping. Mirrors the
“Authoritative field paths” table in
spec/crates/core.md.
Sourcepub fn display_name(&self) -> String
pub fn display_name(&self) -> String
Stable display label for diagnostic messages.