pub struct AnonymizedDnsCryptRelay {
pub addr: SocketAddr,
}Expand description
Anonymized dnscrypt relay configuration parsed from a dnsstamp
Fields§
§addr: SocketAddr0x81 is the protocol identifier for a DNSCrypt relay.
addr is the IP address and port, as a string.
IPv6 strings must be included in square brackets: [fe80::6d6d:f72c:3ad:60b8]:443.
Trait Implementations§
Source§impl Clone for AnonymizedDnsCryptRelay
impl Clone for AnonymizedDnsCryptRelay
Source§fn clone(&self) -> AnonymizedDnsCryptRelay
fn clone(&self) -> AnonymizedDnsCryptRelay
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 AnonymizedDnsCryptRelay
impl Debug for AnonymizedDnsCryptRelay
Source§impl PartialEq for AnonymizedDnsCryptRelay
impl PartialEq for AnonymizedDnsCryptRelay
impl Eq for AnonymizedDnsCryptRelay
impl StructuralPartialEq for AnonymizedDnsCryptRelay
Auto Trait Implementations§
impl Freeze for AnonymizedDnsCryptRelay
impl RefUnwindSafe for AnonymizedDnsCryptRelay
impl Send for AnonymizedDnsCryptRelay
impl Sync for AnonymizedDnsCryptRelay
impl Unpin for AnonymizedDnsCryptRelay
impl UnwindSafe for AnonymizedDnsCryptRelay
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