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§fn clone(&self) -> ConnectionOptions
fn clone(&self) -> ConnectionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionOptions
impl Debug for ConnectionOptions
Auto Trait Implementations§
impl !RefUnwindSafe for ConnectionOptions
impl !UnwindSafe for ConnectionOptions
impl Freeze 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