[][src]Struct rusty_tarantool::tarantool::ClientConfig

pub struct ClientConfig { /* fields omitted */ }

Tarantool client config

Examples

let client = ClientConfig::new(addr, "rust", "rust")
           .set_timeout_time_ms(1000)
           .set_reconnect_time_ms(10000)
           .build();

Implementations

impl ClientConfig[src]

pub fn new<S, S1>(addr: SocketAddr, login: S, password: S1) -> ClientConfig where
    S: Into<String>,
    S1: Into<String>, 
[src]

pub fn set_timeout_time_ms(mut self: Self, timeout_time_ms: u64) -> ClientConfig[src]

pub fn set_reconnect_time_ms(
    mut self: Self,
    reconnect_time_ms: u64
) -> ClientConfig
[src]

impl ClientConfig[src]

pub fn build(self) -> Client[src]

Trait Implementations

impl Clone for ClientConfig[src]

impl Debug for ClientConfig[src]

impl Eq for ClientConfig[src]

impl Hash for ClientConfig[src]

impl PartialEq<ClientConfig> for ClientConfig[src]

impl StructuralEq for ClientConfig[src]

impl StructuralPartialEq for ClientConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.