pub struct PasswordAuthenticator { /* private fields */ }
Expand description
Password authenticator. CDRS will use it if a DB server requested
org.apache.cassandra.auth.PasswordAuthenticator
authentication.
Implementations§
Source§impl PasswordAuthenticator
impl PasswordAuthenticator
pub fn new<S: ToString>(username: S, password: S) -> PasswordAuthenticator
Trait Implementations§
Source§impl Clone for PasswordAuthenticator
impl Clone for PasswordAuthenticator
Source§fn clone(&self) -> PasswordAuthenticator
fn clone(&self) -> PasswordAuthenticator
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 Debug for PasswordAuthenticator
impl Debug for PasswordAuthenticator
Source§impl Into<Authenticator> for PasswordAuthenticator
impl Into<Authenticator> for PasswordAuthenticator
Source§fn into(self) -> Authenticator
fn into(self) -> Authenticator
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for PasswordAuthenticator
impl RefUnwindSafe for PasswordAuthenticator
impl Send for PasswordAuthenticator
impl Sync for PasswordAuthenticator
impl Unpin for PasswordAuthenticator
impl UnwindSafe for PasswordAuthenticator
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