Struct kerberos_parser::krb5::NameType [−][src]
pub struct NameType(pub i32);
Name type
Methods
impl NameType
[src]
impl NameType
pub const KRB_NT_UNKNOWN: NameType
KRB_NT_UNKNOWN: NameType = NameType(0)
Name type not known
pub const KRB_NT_PRINCIPAL: NameType
KRB_NT_PRINCIPAL: NameType = NameType(1)
Just the name of the principal as in DCE, or for users
pub const KRB_NT_SRV_INST: NameType
KRB_NT_SRV_INST: NameType = NameType(2)
Service and other unique instance (krbtgt)
pub const KRB_NT_SRV_HST: NameType
KRB_NT_SRV_HST: NameType = NameType(3)
Service with host name as instance (telnet, rcommands)
pub const KRB_NT_SRV_XHST: NameType
KRB_NT_SRV_XHST: NameType = NameType(4)
Service with host as remaining components
pub const KRB_NT_UID: NameType
KRB_NT_UID: NameType = NameType(5)
Unique ID
pub const KRB_NT_X500_PRINCIPAL: NameType
KRB_NT_X500_PRINCIPAL: NameType = NameType(6)
Encoded X.509 Distinguished name [RFC2253]
pub const KRB_NT_SMTP_NAME: NameType
KRB_NT_SMTP_NAME: NameType = NameType(7)
Name in form of SMTP email name (e.g., user@example.com)
pub const KRB_NT_ENTERPRISE: NameType
KRB_NT_ENTERPRISE: NameType = NameType(10)
Enterprise name; may be mapped to principal name
Trait Implementations
impl Clone for NameType
[src]
impl Clone for NameType
fn clone(&self) -> NameType
[src]
fn clone(&self) -> NameType
Returns 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 Copy for NameType
[src]
impl Copy for NameType
impl PartialEq for NameType
[src]
impl PartialEq for NameType
fn eq(&self, other: &NameType) -> bool
[src]
fn eq(&self, other: &NameType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NameType) -> bool
[src]
fn ne(&self, other: &NameType) -> bool
This method tests for !=
.
impl Eq for NameType
[src]
impl Eq for NameType
impl Debug for NameType
[src]
impl Debug for NameType