Struct netidx_netproto::resolver::ClientHelloWrite
source · pub struct ClientHelloWrite {
pub write_addr: SocketAddr,
pub auth: AuthWrite,
}
Fields§
§write_addr: SocketAddr
§auth: AuthWrite
Trait Implementations§
source§impl Clone for ClientHelloWrite
impl Clone for ClientHelloWrite
source§fn clone(&self) -> ClientHelloWrite
fn clone(&self) -> ClientHelloWrite
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 ClientHelloWrite
impl Debug for ClientHelloWrite
source§impl Pack for ClientHelloWrite
impl Pack for ClientHelloWrite
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
source§impl PartialEq for ClientHelloWrite
impl PartialEq for ClientHelloWrite
source§fn eq(&self, other: &ClientHelloWrite) -> bool
fn eq(&self, other: &ClientHelloWrite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClientHelloWrite
impl StructuralPartialEq for ClientHelloWrite
Auto Trait Implementations§
impl !Freeze for ClientHelloWrite
impl RefUnwindSafe for ClientHelloWrite
impl Send for ClientHelloWrite
impl Sync for ClientHelloWrite
impl Unpin for ClientHelloWrite
impl UnwindSafe for ClientHelloWrite
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<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.