pub struct TlsProbeResult {
pub peer: SocketAddr,
pub sni: String,
pub negotiated: bool,
pub took: Duration,
pub error: Option<String>,
}Expand description
Result of a TLS handshake probe.
Fields§
§peer: SocketAddrThe target socket address.
sni: StringThe SNI hostname presented.
negotiated: boolWhether the handshake completed with a valid certificate chain.
took: DurationTime from start to handshake completion or failure.
error: Option<String>Human-readable error string when negotiated is false.
Trait Implementations§
Source§impl Clone for TlsProbeResult
impl Clone for TlsProbeResult
Source§fn clone(&self) -> TlsProbeResult
fn clone(&self) -> TlsProbeResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TlsProbeResult
impl Debug for TlsProbeResult
Source§impl<'de> Deserialize<'de> for TlsProbeResult
impl<'de> Deserialize<'de> for TlsProbeResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TlsProbeResult
impl PartialEq for TlsProbeResult
Source§impl Serialize for TlsProbeResult
impl Serialize for TlsProbeResult
impl Eq for TlsProbeResult
impl StructuralPartialEq for TlsProbeResult
Auto Trait Implementations§
impl Freeze for TlsProbeResult
impl RefUnwindSafe for TlsProbeResult
impl Send for TlsProbeResult
impl Sync for TlsProbeResult
impl Unpin for TlsProbeResult
impl UnsafeUnpin for TlsProbeResult
impl UnwindSafe for TlsProbeResult
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