Enum ldap3::LdapUrlExt[][src]

pub enum LdapUrlExt<'a> {
    Bindname(Cow<'a, str>),
    XBindpw(Cow<'a, str>),
    Credentials(Cow<'a, str>),
    SaslMech(Cow<'a, str>),
    StartTLS,
    Unknown(Cow<'a, str>),
}

LDAP URL extensions.

Historically, very few extensions have been described in the LDAP standards, and extension support is very library- and application-specific. This crate recognizes two widely implemented extensions (bindname and x-bindpw), as well as several experimental ones.

Variants

Bindname(Cow<'a, str>)

Bindname, the DN for the Simple Bind operation. Originally specified in RFC 2256, but dropped from its successor, RFC 4516 (“lack of known implementations”).

XBindpw(Cow<'a, str>)

X-bindpw, the password for Simple Bind. Never standardized, and not recommended because of security implications.

Credentials(Cow<'a, str>)

1.3.6.1.4.1.10094.1.5.1, experimental.

SaslMech(Cow<'a, str>)

1.3.6.1.4.1.10094.1.5.2, experimental.

StartTLS

1.3.6.1.4.1.1466.20037, StartTLS extended operation. Has no value. Should signal to the application to use StartTLS when connecting.

Unknown(Cow<'a, str>)

Unknown extension.

Trait Implementations

impl<'a> Clone for LdapUrlExt<'a>[src]

impl<'a> Debug for LdapUrlExt<'a>[src]

impl<'a> Eq for LdapUrlExt<'a>[src]

impl<'a> Hash for LdapUrlExt<'a>[src]

impl<'a> PartialEq<LdapUrlExt<'a>> for LdapUrlExt<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for LdapUrlExt<'a>

impl<'a> Send for LdapUrlExt<'a>

impl<'a> Sync for LdapUrlExt<'a>

impl<'a> Unpin for LdapUrlExt<'a>

impl<'a> UnwindSafe for LdapUrlExt<'a>

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.