Trait mysql_async::prelude::ToConnection

source ·
pub trait ToConnection<'a, 't: 'a>: ToConnection<'a, 't> { }
Expand description

Everything that is a connection.

Note that you could obtain a 'static connection by giving away Conn or Pool.

Implementors§

source§

impl ToConnection<'static, 'static> for Conn

source§

impl ToConnection<'static, 'static> for Pool

source§

impl<'a> ToConnection<'a, 'static> for &'a Pool

source§

impl<'a> ToConnection<'a, 'static> for &'a mut Conn

source§

impl<'a, 't> ToConnection<'a, 't> for &'a mut Transaction<'t>