Type Definition rustls::internal::msgs::handshake::ServerNameRequest [−][src]
type ServerNameRequest = Vec<ServerName>;
Trait Implementations
impl Codec for ServerNameRequest
[src]
fn encode(&self, bytes: &mut Vec<u8>)
[src]
fn read(r: &mut Reader<'_>) -> Option<ServerNameRequest>
[src]
fn get_encoding(&self) -> Vec<u8>
[src]
fn read_bytes(bytes: &[u8]) -> Option<Self>
[src]
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.”