pub enum AppUsage {
Normal,
Loopback,
LinkLocal,
NxDomain,
}
Expand description
Application Software:
Are writers of application software expected to make their software recognize these names as special and treat them differently? In what way? (For example, if a human user enters such a name, should the application software reject it with an error message?)
Variants§
Normal
Application software SHOULD NOT recognize these names as special, and SHOULD use these names as they would other reverse-mapping names.
Application software SHOULD NOT recognize test names as special, and SHOULD use test names as they would other domain names.
Application software SHOULD NOT recognize example names as special and SHOULD use example names as they would other domain names.
Loopback
Application software MAY recognize localhost names as special, or MAY pass them to name resolution APIs as they would for other domain names.
LinkLocal
Link local, generally for mDNS
NxDomain
Application software MAY recognize “invalid” names as special or MAY pass them to name resolution APIs as they would for other domain names.
Trait Implementations§
source§impl PartialEq for AppUsage
impl PartialEq for AppUsage
impl Copy for AppUsage
impl Eq for AppUsage
impl StructuralEq for AppUsage
impl StructuralPartialEq for AppUsage
Auto Trait Implementations§
impl RefUnwindSafe for AppUsage
impl Send for AppUsage
impl Sync for AppUsage
impl Unpin for AppUsage
impl UnwindSafe for AppUsage
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.