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§
source§impl<'a> Clone for AuthenticationChoice<'a>
impl<'a> Clone for AuthenticationChoice<'a>
source§fn clone(&self) -> AuthenticationChoice<'a>
fn clone(&self) -> AuthenticationChoice<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'a> Debug for AuthenticationChoice<'a>
impl<'a> Debug for AuthenticationChoice<'a>
source§impl<'a> FromBer<'a, LdapError> for AuthenticationChoice<'a>
impl<'a> FromBer<'a, LdapError> for AuthenticationChoice<'a>
source§impl<'a> PartialEq for AuthenticationChoice<'a>
impl<'a> PartialEq for AuthenticationChoice<'a>
source§fn 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 ==.impl<'a> Eq for AuthenticationChoice<'a>
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§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more