pub enum SaslConfig {
Plain(Credentials),
ScramSha256(Credentials),
ScramSha512(Credentials),
Oauthbearer(OauthBearerCredentials),
}
Variants§
Plain(Credentials)
ScramSha256(Credentials)
ScramSha512(Credentials)
SASL - SCRAM-SHA-512
§References
Oauthbearer(OauthBearerCredentials)
Trait Implementations§
Source§impl Clone for SaslConfig
impl Clone for SaslConfig
Source§fn clone(&self) -> SaslConfig
fn clone(&self) -> SaslConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SaslConfig
impl !RefUnwindSafe for SaslConfig
impl Send for SaslConfig
impl Sync for SaslConfig
impl Unpin for SaslConfig
impl !UnwindSafe for SaslConfig
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