pub enum BindCredentials<'a> {
Simple {
dn: &'a str,
password: &'a SecretString,
},
ServiceAccount,
SaslExternal,
}Expand description
Credentials for Client::bind.
Variants§
Simple
Simple bind with a DN and password.
ServiceAccount
Re-bind using the pre-configured service account.
SaslExternal
SASL EXTERNAL bind (client certificate authentication).
Auto Trait Implementations§
impl<'a> Freeze for BindCredentials<'a>
impl<'a> RefUnwindSafe for BindCredentials<'a>
impl<'a> Send for BindCredentials<'a>
impl<'a> Sync for BindCredentials<'a>
impl<'a> Unpin for BindCredentials<'a>
impl<'a> UnsafeUnpin for BindCredentials<'a>
impl<'a> UnwindSafe for BindCredentials<'a>
Blanket Implementations§
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