[][src]Struct kerberos_parser::krb5::NameType

pub struct NameType(pub i32);

Name type

Implementations

impl NameType[src]

pub const KRB_NT_UNKNOWN: NameType[src]

Name type not known

pub const KRB_NT_PRINCIPAL: NameType[src]

Just the name of the principal as in DCE, or for users

pub const KRB_NT_SRV_INST: NameType[src]

Service and other unique instance (krbtgt)

pub const KRB_NT_SRV_HST: NameType[src]

Service with host name as instance (telnet, rcommands)

pub const KRB_NT_SRV_XHST: NameType[src]

Service with host as remaining components

pub const KRB_NT_UID: NameType[src]

Unique ID

pub const KRB_NT_X500_PRINCIPAL: NameType[src]

Encoded X.509 Distinguished name [RFC2253]

pub const KRB_NT_SMTP_NAME: NameType[src]

Name in form of SMTP email name (e.g., user@example.com)

pub const KRB_NT_ENTERPRISE: NameType[src]

Enterprise name; may be mapped to principal name

Trait Implementations

impl Clone for NameType[src]

impl Copy for NameType[src]

impl Debug for NameType[src]

impl Eq for NameType[src]

impl PartialEq<NameType> for NameType[src]

impl StructuralEq for NameType[src]

impl StructuralPartialEq for NameType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.