pub enum DiagnosticCode {
Show 26 variants
UnsupportedProtocol,
UnsupportedTransportWrapper,
UnsupportedFlag,
UnsupportedPlatform,
UnsupportedSecuritySensitiveLegacyFeature,
InvalidUriSyntax,
InvalidChainComposition,
MissingTarget,
MissingCredential,
InvalidCipherMethod,
BindFailure,
PrivilegeCapabilityMissing,
ExternalDependencyMissing,
RulefileError,
InvalidRegexPattern,
FancyRegexBackend,
UriPreservedUnsupportedComponent,
H2HandshakeFailure,
H2ConnectRejected,
H2StreamReset,
H2GoawayReceived,
H2PoolExhausted,
H2FlowControlStall,
H2AuthFailure,
H2UnsupportedCleartext,
H2TlsAlpnMismatch,
}Expand description
Stable diagnostic codes for the pproxy compatibility layer.
Each code corresponds to a class of translation issue. These codes are designed for JSON output, test assertions, and documentation cross-references.
Variants§
UnsupportedProtocol
The pproxy protocol/scheme is not implemented in eggress.
UnsupportedTransportWrapper
A transport wrapper (e.g. +tls) is not supported for this context.
UnsupportedFlag
A pproxy flag or option is not recognized or not mappable.
UnsupportedPlatform
The feature requires platform-specific capabilities not available.
UnsupportedSecuritySensitiveLegacyFeature
A legacy or security-sensitive feature (e.g. SSR UDP, stream ciphers) is intentionally unsupported.
InvalidUriSyntax
The pproxy URI or argument syntax is malformed.
InvalidChainComposition
The resulting chain composition is invalid (e.g. conflicting protocols).
MissingTarget
A required target address or endpoint is missing.
MissingCredential
A required credential (password, key) is missing.
InvalidCipherMethod
The specified cipher or encryption method is not supported.
BindFailure
Binding to the requested address failed.
PrivilegeCapabilityMissing
Required OS capabilities (e.g. CAP_NET_ADMIN) are missing.
ExternalDependencyMissing
An external dependency required for this feature is not available.
RulefileError
A rule file could not be read or parsed.
InvalidRegexPattern
A regex pattern in a rule file or block rule is invalid.
FancyRegexBackend
A rule uses the fancy_regex compatibility backend (info-level).
UriPreservedUnsupportedComponent
A URI contains a component that is preserved but not supported at runtime.
H2HandshakeFailure
H2ConnectRejected
H2StreamReset
H2GoawayReceived
H2PoolExhausted
H2FlowControlStall
H2AuthFailure
H2UnsupportedCleartext
H2TlsAlpnMismatch
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
Source§fn clone(&self) -> DiagnosticCode
fn clone(&self) -> DiagnosticCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for DiagnosticCode
Source§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
Source§impl Display for DiagnosticCode
impl Display for DiagnosticCode
impl Eq for DiagnosticCode
Source§impl Hash for DiagnosticCode
impl Hash for DiagnosticCode
Source§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
Source§impl Serialize for DiagnosticCode
impl Serialize for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
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
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§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
key and return true if they are equal.