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
sourceimpl PartialEq<AppUsage> for AppUsage
impl PartialEq<AppUsage> 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
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<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more