Trait holochain::prelude::dependencies::kitsune_p2p_types::dependencies::rustls::internal::msgs::handshake::ConvertServerNameList
pub trait ConvertServerNameList {
fn has_duplicate_names_for_type(&self) -> bool;
fn get_single_hostname(&self) -> Option<DnsNameRef<'_>>;
}
Required Methods§
fn has_duplicate_names_for_type(&self) -> bool
fn get_single_hostname(&self) -> Option<DnsNameRef<'_>>
Implementations on Foreign Types§
§impl ConvertServerNameList for Vec<ServerName, Global>
impl ConvertServerNameList for Vec<ServerName, Global>
§fn has_duplicate_names_for_type(&self) -> bool
fn has_duplicate_names_for_type(&self) -> bool
RFC6066: “The ServerNameList MUST NOT contain more than one name of the same name_type.”