Struct openssl::ssl::NameType [−][src]
pub struct NameType(_);
An identifier of a session name type.
Methods
impl NameType[src]
impl NameTypepub fn from_raw(raw: c_int) -> StatusType[src]
pub fn from_raw(raw: c_int) -> StatusTypeConstructs a StatusType from a raw OpenSSL value.
pub fn as_raw(&self) -> c_int[src]
pub fn as_raw(&self) -> c_intReturns 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.