Struct v_clickhouse_rs::pool::Pool[][src]

pub struct Pool { /* fields omitted */ }

Asynchronous pool of Clickhouse connections.

Implementations

impl Pool[src]

pub fn new<O>(options: O) -> Self where
    O: IntoOptions, 
[src]

Constructs a new Pool.

pub fn get_handle(&self) -> GetHandle

Notable traits for GetHandle

impl Future for GetHandle type Output = Result<ClientHandle>;
[src]

Returns future that resolves to ClientHandle.

Trait Implementations

impl Clone for Pool[src]

impl Debug for Pool[src]

Auto Trait Implementations

impl !RefUnwindSafe for Pool

impl Send for Pool

impl Sync for Pool

impl Unpin for Pool

impl !UnwindSafe for Pool

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.