pub struct RealityScanResult {Show 21 fields
pub target: String,
pub host: String,
pub ip_address: String,
pub port: i32,
pub feasible: bool,
pub tls13: bool,
pub tls_version: String,
pub h2: bool,
pub alpn: String,
pub x25519: bool,
pub curve_id: String,
pub private_target: bool,
pub cert_chain_valid: bool,
pub cert_chain_bytes: i32,
pub cert_valid: bool,
pub cert_subject: String,
pub cert_issuer: String,
pub not_after: String,
pub server_names: Vec<String>,
pub latency_ms: i32,
pub reason: String,
}Expand description
Structured result of probing a candidate REALITY target.
Fields§
§target: StringOriginal target.
host: StringTLS server name.
ip_address: StringResolved address.
port: i32Target port.
feasible: boolOverall REALITY feasibility verdict.
tls13: boolWhether TLS 1.3 was negotiated.
tls_version: StringNegotiated TLS version.
h2: boolWhether HTTP/2 was negotiated.
alpn: StringNegotiated ALPN.
x25519: boolWhether X25519 was negotiated.
curve_id: StringNegotiated curve identifier.
private_target: boolWhether the target resolved to a private address.
cert_chain_valid: boolWhether the presented certificate chain is trusted, ignoring its name.
cert_chain_bytes: i32Total DER certificate-chain size in bytes (ML-DSA-65 requires at least 3500).
cert_valid: boolWhether the certificate validated.
cert_subject: StringLeaf certificate subject.
cert_issuer: StringLeaf certificate issuer.
not_after: StringCertificate expiration in RFC 3339 form.
server_names: Vec<String>Usable certificate server names.
latency_ms: i32End-to-end probe latency in milliseconds.
reason: StringFailure or infeasibility reason.
Trait Implementations§
Source§impl Clone for RealityScanResult
impl Clone for RealityScanResult
Source§impl Debug for RealityScanResult
impl Debug for RealityScanResult
Source§impl Default for RealityScanResult
impl Default for RealityScanResult
Source§impl<'de> Deserialize<'de> for RealityScanResultwhere
RealityScanResult: Default,
impl<'de> Deserialize<'de> for RealityScanResultwhere
RealityScanResult: Default,
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
impl Eq for RealityScanResult
Source§impl PartialEq for RealityScanResult
impl PartialEq for RealityScanResult
Source§impl Serialize for RealityScanResult
impl Serialize for RealityScanResult
impl StructuralPartialEq for RealityScanResult
Auto Trait Implementations§
impl Freeze for RealityScanResult
impl RefUnwindSafe for RealityScanResult
impl Send for RealityScanResult
impl Sync for RealityScanResult
impl Unpin for RealityScanResult
impl UnsafeUnpin for RealityScanResult
impl UnwindSafe for RealityScanResult
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more