#[non_exhaustive]pub struct ProxySsl<'a> {
pub client: u8,
pub verified: bool,
pub version: Option<&'a str>,
pub common_name: Option<&'a str>,
pub cipher: Option<&'a str>,
pub signature_algorithm: Option<&'a str>,
pub key_algorithm: Option<&'a str>,
}Available on crate feature
proxy only.Expand description
The SSL facts a proxy that terminated TLS reports (v2 TLV 0x20).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.client: u8The client flags: bit 0 SSL, bit 1 a client certificate on this connection, bit 2 one in the session.
verified: boolWhether the client certificate was verified (verify field 0).
version: Option<&'a str>The TLS version, such as TLSv1.3.
common_name: Option<&'a str>The client certificate’s common name.
cipher: Option<&'a str>The cipher.
signature_algorithm: Option<&'a str>The certificate’s signature algorithm.
key_algorithm: Option<&'a str>The certificate’s key algorithm.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ProxySsl<'a>
impl<'a> RefUnwindSafe for ProxySsl<'a>
impl<'a> Send for ProxySsl<'a>
impl<'a> Sync for ProxySsl<'a>
impl<'a> Unpin for ProxySsl<'a>
impl<'a> UnsafeUnpin for ProxySsl<'a>
impl<'a> UnwindSafe for ProxySsl<'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