Struct netidx_netproto::resolver::ServerHelloWrite
source · pub struct ServerHelloWrite {
pub ttl: u64,
pub ttl_expired: bool,
pub auth: AuthWrite,
pub resolver_id: SocketAddr,
}
Fields§
§ttl: u64
§ttl_expired: bool
§auth: AuthWrite
§resolver_id: SocketAddr
Trait Implementations§
source§impl Clone for ServerHelloWrite
impl Clone for ServerHelloWrite
source§fn clone(&self) -> ServerHelloWrite
fn clone(&self) -> ServerHelloWrite
Returns a copy 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 ServerHelloWrite
impl Debug for ServerHelloWrite
source§impl Pack for ServerHelloWrite
impl Pack for ServerHelloWrite
source§impl PartialEq<ServerHelloWrite> for ServerHelloWrite
impl PartialEq<ServerHelloWrite> for ServerHelloWrite
source§fn eq(&self, other: &ServerHelloWrite) -> bool
fn eq(&self, other: &ServerHelloWrite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ServerHelloWrite
impl StructuralEq for ServerHelloWrite
impl StructuralPartialEq for ServerHelloWrite
Auto Trait Implementations§
impl RefUnwindSafe for ServerHelloWrite
impl Send for ServerHelloWrite
impl Sync for ServerHelloWrite
impl Unpin for ServerHelloWrite
impl UnwindSafe for ServerHelloWrite
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.