[][src]Struct diesel_adapter::ConnOptions

pub struct ConnOptions<'a> { /* fields omitted */ }

Methods

impl<'a> ConnOptions<'a>[src]

pub fn set_hostname(&mut self, hostname: &'a str) -> &mut Self[src]

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

pub fn set_auth(&mut self, username: &'a str, password: &'a str) -> &mut Self[src]

pub fn get_url(&self) -> String[src]

pub fn get_table(&self) -> String[src]

pub fn set_table(&mut self, table: &'a str) -> &mut Self[src]

pub fn set_pool(&mut self, pool_size: u8) -> &mut Self[src]

pub fn get_db(&self) -> String[src]

Trait Implementations

impl<'a> Clone for ConnOptions<'a>[src]

impl<'a> Debug for ConnOptions<'a>[src]

impl<'a> Default for ConnOptions<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ConnOptions<'a>

impl<'a> Send for ConnOptions<'a>

impl<'a> Sync for ConnOptions<'a>

impl<'a> Unpin for ConnOptions<'a>

impl<'a> UnwindSafe for ConnOptions<'a>

Blanket Implementations

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

impl<T> Any for T where
    T: Clone + Any + ?Sized

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> IntoSql for 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.