pub struct ArangoDBConnectionManager { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Clone for ArangoDBConnectionManager
impl Clone for ArangoDBConnectionManager
Source§fn clone(&self) -> ArangoDBConnectionManager
fn clone(&self) -> ArangoDBConnectionManager
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ArangoDBConnectionManager
impl Debug for ArangoDBConnectionManager
Source§impl ManageConnection for ArangoDBConnectionManager
impl ManageConnection for ArangoDBConnectionManager
Source§type Connection = GenericConnection<ReqwestClient>
type Connection = GenericConnection<ReqwestClient>
The connection type this manager deals with.
Source§type Error = ClientError
type Error = ClientError
The error type returned by
Connection
s.Source§fn connect(&self) -> Result<Connection, ClientError>
fn connect(&self) -> Result<Connection, ClientError>
Attempts to create a new connection.
Source§fn is_valid(&self, conn: &mut Connection) -> Result<(), ClientError>
fn is_valid(&self, conn: &mut Connection) -> Result<(), ClientError>
Determines if the connection is still connected to the database. Read more
Source§fn has_broken(&self, conn: &mut Connection) -> bool
fn has_broken(&self, conn: &mut Connection) -> bool
Quickly determines if the connection is no longer usable. Read more
Auto Trait Implementations§
impl Freeze for ArangoDBConnectionManager
impl RefUnwindSafe for ArangoDBConnectionManager
impl Send for ArangoDBConnectionManager
impl Sync for ArangoDBConnectionManager
impl Unpin for ArangoDBConnectionManager
impl UnwindSafe for ArangoDBConnectionManager
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