pub struct Pool { /* private fields */ }Expand description
Asynchronous pool of Clickhouse connections.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Pool
impl Freeze for Poolwhere
*const ArcInner<Mutex<State>> is !null: Freeze,
PhantomData<ArcInner<Mutex<State>>>: Freeze,
*const ArcInner<Inner> is !null: Freeze,
PhantomData<ArcInner<Inner>>: Freeze,
impl Move for Pool
impl RefUnwindSafe for Poolwhere
Atomic<usize>: RefUnwindSafe,
Mutex<State>: RefUnwindSafe,
ArrayQueue<Pin<Box<dyn Future<Output = Result<ClientHandle, Error>> + Send>>>: RefUnwindSafe,
ArrayQueue<ClientHandle>: RefUnwindSafe,
SegQueue<Waker>: RefUnwindSafe,
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnsafeUnpin for Poolwhere
*const ArcInner<Mutex<State>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<State>>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
impl UnwindSafe for Pool
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more