pub enum AppUsage {
Normal,
Loopback,
LinkLocal,
NxDomain,
}
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?)
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.
Application software MAY recognize localhost names as special, or
MAY pass them to name resolution APIs as they would for other
domain names.
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.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static