Trait rustls::internal::msgs::handshake::ConvertServerNameList[][src]

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[src]

fn get_single_hostname(&self) -> Option<DNSNameRef<'_>>[src]

Loading content...

Implementors

impl ConvertServerNameList for ServerNameRequest[src]

fn has_duplicate_names_for_type(&self) -> bool[src]

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

Loading content...