Struct ntex_tls::Servername
source · pub struct Servername(pub String);
Expand description
The TLS SNI server name (DNS).
Used in conjunction with ntex_io::Filter::query
:
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for Servername
impl Clone for Servername
source§fn clone(&self) -> Servername
fn clone(&self) -> Servername
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 Servername
impl Debug for Servername
source§impl Hash for Servername
impl Hash for Servername
source§impl PartialEq<Servername> for Servername
impl PartialEq<Servername> for Servername
source§fn eq(&self, other: &Servername) -> bool
fn eq(&self, other: &Servername) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.