pub struct InterceptCtx<'a> {
pub route_id: Option<&'a str>,
pub host: &'a str,
pub port: u16,
pub route_store: &'a RouteStore,
pub credential_store: &'a CredentialStore,
pub session_token: &'a Zeroizing<String>,
pub cert_cache: Arc<CertCache>,
pub tls_connector: &'a TlsConnector,
pub filter: &'a ProxyFilter,
pub audit_log: Option<&'a SharedAuditLog>,
}Expand description
Per-connection context passed to handle_intercept_connect.
Fields§
§route_id: Option<&'a str>§host: &'a str§port: u16§route_store: &'a RouteStore§credential_store: &'a CredentialStore§session_token: &'a Zeroizing<String>§cert_cache: Arc<CertCache>§tls_connector: &'a TlsConnector§filter: &'a ProxyFilter§audit_log: Option<&'a SharedAuditLog>Auto Trait Implementations§
impl<'a> Freeze for InterceptCtx<'a>
impl<'a> !RefUnwindSafe for InterceptCtx<'a>
impl<'a> Send for InterceptCtx<'a>
impl<'a> Sync for InterceptCtx<'a>
impl<'a> Unpin for InterceptCtx<'a>
impl<'a> UnsafeUnpin for InterceptCtx<'a>
impl<'a> !UnwindSafe for InterceptCtx<'a>
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