Struct pleingres::Parameters [] [src]

pub struct Parameters {
    pub addr: SocketAddr,
    pub user: String,
    pub password: String,
    pub database: Option<String>,
    pub max_wait: Duration,
    pub tcp_keepalive: Option<u32>,
    pub idle_timeout: Option<Duration>,
}

Connection configuration: network address, user, database and options. The connection is unencrypted.

Fields

Network address of the server

User name on the server

Password for that user

Database to connect to

Maximum wait duration on the connection.

TCP keep alive, in milliseconds.

Duration before reconnecting an idle connection.

Trait Implementations

Auto Trait Implementations

impl Send for Parameters

impl Sync for Parameters