Enum trust_dns_proto::rr::domain::usage::RegistryUsage
source · [−]pub enum RegistryUsage {
Normal,
Reserved,
}
Expand description
DNS Registries/Registrars:
How should DNS Registries/Registrars treat requests to register this reserved domain name? Should such requests be denied? Should such requests be allowed, but only to a specially- designated entity? (For example, the name “www.example.org” is reserved for documentation examples and is not available for registration; however, the name is in fact registered; and there is even a web site at that name, which states circularly that the name is reserved for use in documentation and cannot be registered!)
Variants
Normal
Stanard checks apply
Reserved
DNS Registries/Registrars MUST NOT grant requests to register test names in the normal way to any person or entity. Test names are reserved for use in private networks and fall outside the set of names available for allocation by registries/registrars. Attempting to allocate a test name as if it were a normal DNS domain name will probably not work as desired, for reasons 4, 5, and 6 above.
DNS Registries/Registrars MUST NOT grant requests to register localhost names in the normal way to any person or entity. Localhost names are defined by protocol specification and fall outside the set of names available for allocation by registries/ registrars. Attempting to allocate a localhost name as if it were a normal DNS domain name will probably not work as desired, for reasons 2, 3, 4, and 5 above.
DNS Registries/Registrars MUST NOT grant requests to register “invalid” names in the normal way to any person or entity. These “invalid” names are defined by protocol specification to be nonexistent, and they fall outside the set of names available for allocation by registries/registrars. Attempting to allocate a “invalid” name as if it were a normal DNS domain name will probably not work as desired, for reasons 2, 3, 4, and 5 above.
DNS Registries/Registrars MUST NOT grant requests to register example names in the normal way to any person or entity. All example names are registered in perpetuity to IANA:
Trait Implementations
sourceimpl Clone for RegistryUsage
impl Clone for RegistryUsage
sourcefn clone(&self) -> RegistryUsage
fn clone(&self) -> RegistryUsage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<RegistryUsage> for RegistryUsage
impl PartialEq<RegistryUsage> for RegistryUsage
impl Copy for RegistryUsage
impl Eq for RegistryUsage
impl StructuralEq for RegistryUsage
impl StructuralPartialEq for RegistryUsage
Auto Trait Implementations
impl RefUnwindSafe for RegistryUsage
impl Send for RegistryUsage
impl Sync for RegistryUsage
impl Unpin for RegistryUsage
impl UnwindSafe for RegistryUsage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more