Enum ldap_parser::ldap::AuthenticationChoice
source · [−]pub enum AuthenticationChoice<'a> {
Simple(Cow<'a, [u8]>),
Sasl(SaslCredentials<'a>),
}Variants
Simple(Cow<'a, [u8]>)
Sasl(SaslCredentials<'a>)
Trait Implementations
sourceimpl<'a> Debug for AuthenticationChoice<'a>
impl<'a> Debug for AuthenticationChoice<'a>
sourceimpl<'a> FromBer<'a, LdapError> for AuthenticationChoice<'a>
impl<'a> FromBer<'a, LdapError> for AuthenticationChoice<'a>
sourceimpl<'a> PartialEq<AuthenticationChoice<'a>> for AuthenticationChoice<'a>
impl<'a> PartialEq<AuthenticationChoice<'a>> for AuthenticationChoice<'a>
sourcefn eq(&self, other: &AuthenticationChoice<'a>) -> bool
fn eq(&self, other: &AuthenticationChoice<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AuthenticationChoice<'a>) -> bool
fn ne(&self, other: &AuthenticationChoice<'a>) -> bool
This method tests for !=.
impl<'a> StructuralPartialEq for AuthenticationChoice<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AuthenticationChoice<'a>
impl<'a> Send for AuthenticationChoice<'a>
impl<'a> Sync for AuthenticationChoice<'a>
impl<'a> Unpin for AuthenticationChoice<'a>
impl<'a> UnwindSafe for AuthenticationChoice<'a>
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more