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
sourceimpl Clone for Servername
impl Clone for Servername
sourcefn clone(&self) -> Servername
fn clone(&self) -> Servername
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Servername
impl Debug for Servername
sourceimpl Hash for Servername
impl Hash for Servername
sourceimpl PartialEq<Servername> for Servername
impl PartialEq<Servername> for Servername
sourcefn eq(&self, other: &Servername) -> bool
fn eq(&self, other: &Servername) -> bool
impl Eq for Servername
impl StructuralEq for Servername
impl StructuralPartialEq for Servername
Auto Trait Implementations
impl RefUnwindSafe for Servername
impl Send for Servername
impl Sync for Servername
impl Unpin for Servername
impl UnwindSafe for Servername
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more