[−][src]Struct rsfbclient::ConnectionBuilder
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]
fn clone(&self) -> ConnectionBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ConnectionBuilder
[src]
impl Default for ConnectionBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for ConnectionBuilder
impl Send for ConnectionBuilder
impl Sync for ConnectionBuilder
impl Unpin for ConnectionBuilder
impl UnwindSafe for ConnectionBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,