pub struct ConnectionOptions {
pub host: String,
pub port: u16,
pub token: Option<String>,
pub tls: Option<TlsOptions>,
pub connect_timeout: Duration,
pub command_timeout: Duration,
pub telemetry: Option<TelemetryCallback>,
}Fields§
§host: String§port: u16§token: Option<String>§tls: Option<TlsOptions>§connect_timeout: Duration§command_timeout: Duration§telemetry: Option<TelemetryCallback>Trait Implementations§
Source§impl Clone for ConnectionOptions
impl Clone for ConnectionOptions
Source§impl Debug for ConnectionOptions
impl Debug for ConnectionOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionOptions
impl !UnwindSafe for ConnectionOptions
impl Forget for ConnectionOptions
impl Freeze for ConnectionOptions
impl Move for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl UnsafeUnpin for ConnectionOptions
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