[][src]Struct ignite_rs::ClientConfig

pub struct ClientConfig {
    pub addr: String,
    pub username: Option<String>,
    pub password: Option<String>,
    pub tcp_nodelay: Option<bool>,
    pub tcp_nonblocking: Option<bool>,
    pub tcp_read_timeout: Option<Duration>,
    pub tcp_write_timeout: Option<Duration>,
    pub tcp_ttl: Option<u32>,
    pub tcp_read_buff_size: Option<usize>,
    pub tcp_write_buff_size: Option<usize>,
}

Ignite Client configuration. Allows the configuration of user's credentials, tcp configuration and SSL/TLS, if "ssl" feature is enabled

Fields

addr: Stringusername: Option<String>password: Option<String>tcp_nodelay: Option<bool>tcp_nonblocking: Option<bool>tcp_read_timeout: Option<Duration>tcp_write_timeout: Option<Duration>tcp_ttl: Option<u32>tcp_read_buff_size: Option<usize>tcp_write_buff_size: Option<usize>

Implementations

impl ClientConfig[src]

pub fn new(addr: &str) -> ClientConfig[src]

Trait Implementations

impl Clone 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.