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 for Servername
impl PartialEq for Servername
impl Eq for Servername
impl StructuralPartialEq for Servername
Auto Trait Implementations§
impl Freeze for Servername
impl RefUnwindSafe for Servername
impl Send for Servername
impl Sync for Servername
impl Unpin for Servername
impl UnwindSafe for Servername
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)