Enum pages::db::ConnectionOptions
source · [−]Expand description
Connect to databse
Variants
Fresh(Fresh)
fresh connection
Existing(Conn)
existing connection
Implementations
sourceimpl ConnectionOptions
impl ConnectionOptions
async fn connect(self) -> Result<Database, ServiceError>
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more