Struct tk_pool::config::PoolConfig [] [src]

pub struct PoolConfig<C, A, X, Q, E, M> { /* fields omitted */ }

A fully configured pool but you might override some defaults

Methods

impl<C, A, X, Q, E, M> PoolConfig<C, A, X, Q, E, M>
[src]

[src]

Spawn a connection pool on the main loop specified by handle

[src]

Configure a uniform connection pool with specified number of per-host connections crated lazily (i.e. when there are requests)

[src]

Add a queue of size num used when no connection can accept a message