pub struct BronzeConnManager { /* private fields */ }Implementations§
Trait Implementations§
Source§impl ManageConnection for BronzeConnManager
impl ManageConnection for BronzeConnManager
Source§type Connection = Connection<TcpStream>
type Connection = Connection<TcpStream>
The connection type this manager deals with.
Source§fn connect(&self) -> Result<Self::Connection, Self::Error>
fn connect(&self) -> Result<Self::Connection, Self::Error>
Attempts to create a new connection.
Source§fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error>
fn is_valid(&self, conn: &mut Self::Connection) -> Result<(), Self::Error>
Determines if the connection is still connected to the database. Read more
Source§fn has_broken(&self, conn: &mut Self::Connection) -> bool
fn has_broken(&self, conn: &mut Self::Connection) -> bool
Quickly determines if the connection is no longer usable. Read more
Auto Trait Implementations§
impl Freeze for BronzeConnManager
impl RefUnwindSafe for BronzeConnManager
impl Send for BronzeConnManager
impl Sync for BronzeConnManager
impl Unpin for BronzeConnManager
impl UnwindSafe for BronzeConnManager
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