Struct openssl::ssl::NameType [−][src]
pub struct NameType(_);
An identifier of a session name type.
Methods
impl NameType
[src]
impl NameType
pub fn from_raw(raw: c_int) -> StatusType
[src]
pub fn from_raw(raw: c_int) -> StatusType
Constructs a StatusType
from a raw OpenSSL value.
pub fn as_raw(&self) -> c_int
[src]
pub fn as_raw(&self) -> c_int
Returns the raw OpenSSL value represented by this type.
pub const HOST_NAME: NameType
HOST_NAME: NameType = NameType(ffi::TLSEXT_NAMETYPE_host_name)
A host name.