Struct mysql_connector::connection::Connection
source · pub struct Connection<T: Stream> { /* private fields */ }
Implementations§
source§impl<T: Stream> Connection<T>
impl<T: Stream> Connection<T>
source§impl<T: Stream> Connection<T>
impl<T: Stream> Connection<T>
pub async fn prepare_statement( &mut self, stmt: &str, ) -> Result<PreparedStatement<'_, T>, Error>
source§impl<T: Stream> Connection<T>
impl<T: Stream> Connection<T>
source§impl<T: Stream> Connection<T>
impl<T: Stream> Connection<T>
source§impl<T: Stream> Connection<T>
impl<T: Stream> Connection<T>
pub fn data(&self) -> &ConnectionData
pub fn options(&self) -> Arc<ConnectionOptions>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Connection<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Connection<T>
impl<T> !Send for Connection<T>
impl<T> !Sync for Connection<T>
impl<T> Unpin for Connection<T>
impl<T> !UnwindSafe for Connection<T>
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