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§impl<'a> ToStatic for AuthenticationChoice<'a>
impl<'a> ToStatic for AuthenticationChoice<'a>
impl<'a> Eq for AuthenticationChoice<'a>
impl<'a> StructuralPartialEq for AuthenticationChoice<'a>
Auto Trait Implementations§
impl<'a> Freeze for AuthenticationChoice<'a>
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