Struct rxqlite_client::ConnectOptions
source · pub struct ConnectOptions {
pub leader_id: NodeId,
pub leader_host: String,
pub leader_port: u16,
pub tls_config: Option<RSQliteClientTlsConfig>,
}Fields§
§leader_id: NodeId§leader_host: String§leader_port: u16§tls_config: Option<RSQliteClientTlsConfig>Implementations§
source§impl ConnectOptions
impl ConnectOptions
pub async fn connect(&self) -> Result<RXQLiteClient, RXQLiteError>
Trait Implementations§
source§impl Clone for ConnectOptions
impl Clone for ConnectOptions
source§fn clone(&self) -> ConnectOptions
fn clone(&self) -> ConnectOptions
Returns a copy of the value. Read more
1.0.0 · 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 ConnectOptions
impl Debug for ConnectOptions
source§impl Default for ConnectOptions
impl Default for ConnectOptions
source§fn default() -> ConnectOptions
fn default() -> ConnectOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConnectOptions
impl RefUnwindSafe for ConnectOptions
impl Send for ConnectOptions
impl Sync for ConnectOptions
impl Unpin for ConnectOptions
impl UnwindSafe for ConnectOptions
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