pub struct Options { /* private fields */ }Expand description
Clickhouse connection options.
Implementations§
Source§impl Options
impl Options
pub fn set_compression(self, compression: CompressionMethod) -> Self
pub fn set_timeout(self, timeout: Duration) -> Self
Trait Implementations§
Source§impl TryFrom<&str> for Options
Weird template TryFrom implementation collision
( https://github.com/rust-lang/rust/issues/50133 )
with TryFrom<&Url> make us to draw up two separate implementations
for &str and String
impl TryFrom<&str> for Options
Weird template TryFrom
Source§impl TryFrom<PoolBuilder> for Options
impl TryFrom<PoolBuilder> for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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