pub struct Config<C: ConnectionManager> {
pub address: C::Address,
pub min_size: usize,
pub max_size: usize,
}Fields§
§address: C::Address§min_size: usize§max_size: usizeTrait Implementations§
impl<C: Eq + ConnectionManager> Eq for Config<C>
impl<C: ConnectionManager> StructuralPartialEq for Config<C>
Auto Trait Implementations§
impl<C> Freeze for Config<C>
impl<C> RefUnwindSafe for Config<C>
impl<C> Send for Config<C>
impl<C> Sync for Config<C>
impl<C> Unpin for Config<C>
impl<C> UnwindSafe for Config<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.