pub enum ConnectionsCount {
Global(usize),
PerThread(usize),
}Expand description
To change the default pool size
Variants§
Global(usize)
This will define the entire pool size
PerThread(usize)
This will define the pool size using the provided usize * cpu cores (Including virtual ones)
Trait Implementations§
Source§impl Clone for ConnectionsCount
impl Clone for ConnectionsCount
Source§fn clone(&self) -> ConnectionsCount
fn clone(&self) -> ConnectionsCount
Returns a duplicate 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 ConnectionsCount
impl Debug for ConnectionsCount
Source§impl Default for ConnectionsCount
impl Default for ConnectionsCount
Source§impl PartialEq for ConnectionsCount
impl PartialEq for ConnectionsCount
impl Copy for ConnectionsCount
impl StructuralPartialEq for ConnectionsCount
Auto Trait Implementations§
impl Freeze for ConnectionsCount
impl RefUnwindSafe for ConnectionsCount
impl Send for ConnectionsCount
impl Sync for ConnectionsCount
impl Unpin for ConnectionsCount
impl UnwindSafe for ConnectionsCount
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