[][src]Struct rsfbclient::ConnectionBuilder

pub struct ConnectionBuilder { /* fields omitted */ }

Implementations

impl ConnectionBuilder[src]

pub fn host<S: Into<String>>(&mut self, host: S) -> &mut Self[src]

pub fn port(&mut self, port: u16) -> &mut Self[src]

pub fn db_name<S: Into<String>>(&mut self, db_name: S) -> &mut Self[src]

pub fn user<S: Into<String>>(&mut self, user: S) -> &mut Self[src]

pub fn pass<S: Into<String>>(&mut self, pass: S) -> &mut Self[src]

pub fn dialect(&mut self, dialect: Dialect) -> &mut Self[src]

pub fn connect(&self) -> Result<Connection, FbError>[src]

Trait Implementations

impl Clone for ConnectionBuilder[src]

impl Debug for ConnectionBuilder[src]

impl Default for ConnectionBuilder[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.