pub enum UserUsage {
Normal,
Loopback,
LinkLocal,
NxDomain,
}
Expand description
Users:
Are human users expected to recognize these names as special and use them differently? In what way?
Variants
Normal
Users are free to use these names as they would any other reverse-mapping names. However, since there is no central authority responsible for use of private addresses, users SHOULD be aware that these names are likely to yield different results on different networks.
Loopback
Users are free to use localhost names as they would any other domain names. Users may assume that IPv4 and IPv6 address queries for localhost names will always resolve to the respective IP loopback address.
LinkLocal
Multi-cast link-local usage
NxDomain
Users are free to use “invalid” names as they would any other domain names. Users MAY assume that queries for “invalid” names will always return NXDOMAIN responses.
Trait Implementations
impl Copy for UserUsage
impl Eq for UserUsage
impl StructuralEq for UserUsage
impl StructuralPartialEq for UserUsage
Auto Trait Implementations
impl RefUnwindSafe for UserUsage
impl Send for UserUsage
impl Sync for UserUsage
impl Unpin for UserUsage
impl UnwindSafe for UserUsage
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