Struct axum_odbc::ODBCConnection
source · [−]pub struct ODBCConnection {
pub connection: Option<Send<Connection<'static>>>,
/* private fields */
}
Fields
connection: Option<Send<Connection<'static>>>
Implementations
sourceimpl ODBCConnection
impl ODBCConnection
pub fn detach(self) -> Send<Connection<'static>>
Trait Implementations
sourceimpl AsMut<Send<Connection<'static>>> for ODBCConnection
impl AsMut<Send<Connection<'static>>> for ODBCConnection
sourcefn as_mut(&mut self) -> &mut Send<Connection<'static>>
fn as_mut(&mut self) -> &mut Send<Connection<'static>>
Converts this type into a mutable reference of the (usually inferred) input type.
sourceimpl AsRef<Send<Connection<'static>>> for ODBCConnection
impl AsRef<Send<Connection<'static>>> for ODBCConnection
sourcefn as_ref(&self) -> &Send<Connection<'static>>
fn as_ref(&self) -> &Send<Connection<'static>>
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Deref for ODBCConnection
impl Deref for ODBCConnection
type Target = Send<Connection<'static>>
type Target = Send<Connection<'static>>
The resulting type after dereferencing.
sourceimpl DerefMut for ODBCConnection
impl DerefMut for ODBCConnection
Auto Trait Implementations
impl RefUnwindSafe for ODBCConnection
impl Send for ODBCConnection
impl !Sync for ODBCConnection
impl Unpin for ODBCConnection
impl UnwindSafe for ODBCConnection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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