Struct Name
pub struct Name(/* private field */);
A name that must be resolved to addresses.
Implementations
impl Name
fn as_str(&self) -> &strView the name as a string.
Trait Implementations
impl Debug for Name
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl FromStr for Name
type Err = InvalidNameError;fn from_str(host: &str) -> Result<Self, Self::Err>