pub type ServerNameRequest = Vec<ServerName>;

Trait Implementations§

Function for encoding itself by appending itself to the provided vec of bytes.
Function for decoding itself from the provided reader will return Some if the decoding was successful or None if it was not.
Convenience function for encoding the implementation into a vec and returning it
Function for wrapping a call to the read function in a Reader for the slice of bytes provided

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