Struct thinker::conn::Connection [] [src]

pub struct Connection {
    pub host: String,
    pub port: u16,
    // some fields omitted
}

A connection to a RethinkDB database.

Fields

host: String port: u16

Methods

impl Connection
[src]

fn new(opts: Opts) -> Connection

Trait Implementations

impl Connector for Connection
[src]

type Connection = Connection

fn close(&self, noreply_wait: bool)

fn reconnect(&self, noreply_wait: bool) -> Connection

fn use_db(&self, db_name: &str) -> Connection