pub enum PoolAuth {
Password(String),
PrivateKey(PrivateKey),
}Expand description
Authentication method for connection pool.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PoolAuth
impl RefUnwindSafe for PoolAuth
impl Send for PoolAuth
impl Sync for PoolAuth
impl Unpin for PoolAuth
impl UnsafeUnpin for PoolAuth
impl UnwindSafe for PoolAuth
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