pub struct DnsName<'a>(/* private fields */);
Expand description
A type which encapsulates a string (borrowed or owned) that is a syntactically valid DNS name.
Implementations§
Trait Implementations§
source§impl<'a> PartialEq for DnsName<'a>
impl<'a> PartialEq for DnsName<'a>
impl<'a> Eq for DnsName<'a>
impl<'a> StructuralPartialEq for DnsName<'a>
Auto Trait Implementations§
impl<'a> Freeze for DnsName<'a>
impl<'a> RefUnwindSafe for DnsName<'a>
impl<'a> Send for DnsName<'a>
impl<'a> Sync for DnsName<'a>
impl<'a> Unpin for DnsName<'a>
impl<'a> UnwindSafe for DnsName<'a>
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)