Struct reql::Connection
source · pub struct Connection(_);
Expand description
The connection pool returned by the connect
command
This connection pool is designed to make it very easy
to pass around. It doesn’t carry the actual connections
themselves. Instead it is simply a reference to the
actual underlying connection pool. As such, you can
clone
or copy
it.
Trait Implementations
sourceimpl Clone for Connection
impl Clone for Connection
sourcefn clone(&self) -> Connection
fn clone(&self) -> Connection
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Connection
impl Debug for Connection
sourceimpl Hash for Connection
impl Hash for Connection
sourceimpl PartialEq<Connection> for Connection
impl PartialEq<Connection> for Connection
sourcefn eq(&self, other: &Connection) -> bool
fn eq(&self, other: &Connection) -> bool
impl Copy for Connection
impl Eq for Connection
impl StructuralEq for Connection
impl StructuralPartialEq for Connection
Auto Trait Implementations
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.