Struct dns_stamp_parser::DnsOverTls [−][src]
DNS over TLS configuration
Fields
props: Props
server properties
addr: Option<Addr>
addr is the IP address of the server. It can be an empty string, or just a port number, represented with a preceding colon (:443). In that case, the host name will be resolved to an IP address using another resolver.
hashi: Vec<[u8; 32]>
hashi is the SHA256 digest of one of the TBS certificate found in the validation chain, typically the certificate used to sign the resolver’s certificate. Multiple hashes can be provided for seamless rotations.
hostname: String
hostname is the server host name which will also be used as a SNI name. If the host name contains characters outside the URL-permitted range, these characters should be sent as-is, without any extra encoding (neither URL-encoded nor punycode).
bootstrap_ipi: Vec<IpAddr>
bootstrap_ipi are IP addresses of recommended resolvers accessible over standard DNS in order to resolve hostname. This is optional, and clients can ignore this information.
Implementations
impl DnsOverTls
[src]
Trait Implementations
impl Clone for DnsOverTls
[src]
fn clone(&self) -> DnsOverTls
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DnsOverTls
[src]
impl Eq for DnsOverTls
[src]
impl PartialEq<DnsOverTls> for DnsOverTls
[src]
fn eq(&self, other: &DnsOverTls) -> bool
[src]
fn ne(&self, other: &DnsOverTls) -> bool
[src]
impl StructuralEq for DnsOverTls
[src]
impl StructuralPartialEq for DnsOverTls
[src]
Auto Trait Implementations
impl RefUnwindSafe for DnsOverTls
[src]
impl Send for DnsOverTls
[src]
impl Sync for DnsOverTls
[src]
impl Unpin for DnsOverTls
[src]
impl UnwindSafe for DnsOverTls
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,