pub enum ConnectionOptions {
Fresh(Fresh),
Existing(Conn),
}
Expand description
Connect to database
Variants§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl !UnwindSafe for ConnectionOptions
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