Enum DnsLength
#[non_exhaustive]
pub enum DnsLength
The UTS 46 VerifyDNSLength flag.
Variants
-
Ignore VerifyDNSLength=false. (Possibly relevant for allowing non-DNS naming systems.)
-
VerifyAllowRootDot VerifyDNSLength=true with the exception that the trailing root label dot is allowed.
-
Verify VerifyDNSLength=true. (The trailing root label dot is not allowed.)
Trait Implementations
impl Clone for DnsLength
fn clone(&self) -> Self
impl Copy for DnsLength
impl Eq for DnsLength
impl PartialEq for DnsLength
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for DnsLength
Auto Trait Implementations
impl Freeze for DnsLength
impl RefUnwindSafe for DnsLength
impl Send for DnsLength
impl Sync for DnsLength
impl Unpin for DnsLength
impl UnsafeUnpin for DnsLength
impl UnwindSafe for DnsLength
Blanket Implementations
impl<T> Any for DnsLength
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for DnsLength
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for DnsLength
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for DnsLength
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for DnsLength
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for DnsLength
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for DnsLength
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for DnsLength
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for DnsLength
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>