pub trait ConvertServerNameList {
    fn has_duplicate_names_for_type(&self) -> bool;
    fn get_single_hostname(&self) -> Option<DnsNameRef<'_>>;
}

Required Methods

Implementations on Foreign Types

RFC6066: “The ServerNameList MUST NOT contain more than one name of the same name_type.”

Implementors