Enum openssl::x509::extension::ExtensionType [−][src]
pub enum ExtensionType {
KeyUsage,
ExtKeyUsage,
SubjectAltName,
IssuerAltName,
OtherNid(Nid),
OtherStr(String),
}Type-only version of the Extension enum.
See the Extension documentation for more information on the different
variants.
Variants
KeyUsageExtKeyUsageSubjectAltNameIssuerAltNameOtherNid(Nid)OtherStr(String)
Methods
impl ExtensionType[src]
impl ExtensionTypeTrait Implementations
impl Clone for ExtensionType[src]
impl Clone for ExtensionTypefn clone(&self) -> ExtensionType[src]
fn clone(&self) -> ExtensionTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Hash for ExtensionType[src]
impl Hash for ExtensionTypefn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for ExtensionType[src]
impl PartialEq for ExtensionTypefn eq(&self, other: &ExtensionType) -> bool[src]
fn eq(&self, other: &ExtensionType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ExtensionType) -> bool[src]
fn ne(&self, other: &ExtensionType) -> boolThis method tests for !=.
impl Eq for ExtensionType[src]
impl Eq for ExtensionTypeAuto Trait Implementations
impl Send for ExtensionType
impl Send for ExtensionTypeimpl Sync for ExtensionType
impl Sync for ExtensionType