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,

impl<T> Borrow<T> for DnsLength where T: ?Sized,

impl<T> BorrowMut<T> for DnsLength where T: ?Sized,

impl<T> CloneToUninit for DnsLength where T: Clone,

impl<T> From<T> for DnsLength

impl<T> ToOwned for DnsLength where T: Clone,

impl<T, U> Into<U> for DnsLength where U: From<T>,

impl<T, U> TryFrom<U> for DnsLength where U: Into<T>,

impl<T, U> TryInto<U> for DnsLength where U: TryFrom<T>,