pub struct SslDigest {
pub cipher: &'static str,
pub version: &'static str,
pub organization: Option<String>,
pub serial_number: Option<String>,
pub cert_digest: Vec<u8>,
}
Expand description
The TLS connection information
Fields§
§cipher: &'static str
The cipher used
version: &'static str
The TLS version of this connection
organization: Option<String>
The organization of the peer’s certificate
serial_number: Option<String>
The serial number of the peer’s certificate
cert_digest: Vec<u8>
The digest of the peer’s certificate
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SslDigest
impl RefUnwindSafe for SslDigest
impl Send for SslDigest
impl Sync for SslDigest
impl Unpin for SslDigest
impl UnwindSafe for SslDigest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)