pub struct RoutedOutcome {
pub cluster: ClusterId,
pub content_offset: usize,
pub proxy_source: Option<SocketAddr>,
pub sni: String,
pub alpn: Vec<Vec<u8>>,
pub matched_sni_pattern: String,
pub matched_alpn: AlpnMatcher,
}Expand description
Captured exactly once, when Output::Routed first fires. The core’s
own decided latch guarantees the SAME terminal verdict replays on every
subsequent handle_input call, so SniPreread::outcome never changes
once Some.
Fields§
§cluster: ClusterId§content_offset: usize§proxy_source: Option<SocketAddr>§sni: String§alpn: Vec<Vec<u8>>§matched_sni_pattern: StringThe matched route’s configured pattern (trie key) – *.example.com
for a wildcard route, not the client’s concrete SNI. Together with
matched_alpn this is the matched FRONTEND’s identity, which
TcpSession::upgrade_sni_preread uses to rebuild the per-frontend
access-log tags key (sni_tags_key in lib/src/tcp.rs).
matched_alpn: AlpnMatcherClone of the winning route entry’s AlpnMatcher.
Trait Implementations§
Source§impl Clone for RoutedOutcome
impl Clone for RoutedOutcome
Source§fn clone(&self) -> RoutedOutcome
fn clone(&self) -> RoutedOutcome
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 moreAuto Trait Implementations§
impl Freeze for RoutedOutcome
impl RefUnwindSafe for RoutedOutcome
impl Send for RoutedOutcome
impl Sync for RoutedOutcome
impl Unpin for RoutedOutcome
impl UnsafeUnpin for RoutedOutcome
impl UnwindSafe for RoutedOutcome
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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