Struct rustls::dns_name::DnsNameRef
source · pub struct DnsNameRef<'a>(&'a str);
Expand description
A type which encapsulates a borrowed string that is a syntactically valid DNS name.
Tuple Fields§
§0: &'a str
Implementations§
source§impl<'a> DnsNameRef<'a>
impl<'a> DnsNameRef<'a>
Trait Implementations§
source§impl<'a> AsRef<str> for DnsNameRef<'a>
impl<'a> AsRef<str> for DnsNameRef<'a>
source§impl<'a> Debug for DnsNameRef<'a>
impl<'a> Debug for DnsNameRef<'a>
source§impl<'a> Hash for DnsNameRef<'a>
impl<'a> Hash for DnsNameRef<'a>
source§impl<'a> PartialEq for DnsNameRef<'a>
impl<'a> PartialEq for DnsNameRef<'a>
source§impl<'a> TryFrom<&'a str> for DnsNameRef<'a>
impl<'a> TryFrom<&'a str> for DnsNameRef<'a>
impl<'a> Eq for DnsNameRef<'a>
impl<'a> StructuralPartialEq for DnsNameRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DnsNameRef<'a>
impl<'a> RefUnwindSafe for DnsNameRef<'a>
impl<'a> Send for DnsNameRef<'a>
impl<'a> Sync for DnsNameRef<'a>
impl<'a> Unpin for DnsNameRef<'a>
impl<'a> UnwindSafe for DnsNameRef<'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