Struct clickhouse_srv::types::Options [−][src]
pub struct Options { /* fields omitted */ }Expand description
Clickhouse connection options.
Implementations
Enable compression (defaults to false).
Lower bound of opened connections for Pool (defaults to 10).
Upper bound of opened connections for Pool (defaults to 20).
TCP keep alive timeout in milliseconds (defaults to None).
Ping server every time before execute any query. (defaults to true).
Count of retry to send request to server. (defaults to 3).
Amount of time to wait before next retry. (defaults to 5 sec).
Timeout for ping (defaults to 500 ms).
Timeout for connection (defaults to 500 ms).
Timeout for query (defaults to 180,000 ms).
Timeout for insert (defaults to 180,000 ms).
Timeout for execute (defaults to 180 sec).
Restricts permissions for read data, write data and change settings queries.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Optionsimpl UnwindSafe for OptionsBlanket Implementations
Mutably borrows from an owned value. Read more