pub enum DatabaseRef {
Mssql(Arc<Mutex<Client<Compat<TcpStream>>>>),
Postgres(Arc<Client>),
}Variants§
Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseRef
impl !RefUnwindSafe for DatabaseRef
impl Send for DatabaseRef
impl Sync for DatabaseRef
impl Unpin for DatabaseRef
impl !UnwindSafe for DatabaseRef
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