Struct tiberius::ConnectParams [] [src]

pub struct ConnectParams {
    pub host: Cow<'static, str>,
    pub ssl: EncryptionLevel,
    pub trust_cert: bool,
    pub auth: AuthMethod,
    pub target_db: Option<Cow<'static, str>>,
    pub spn: Cow<'static, str>,
}

Settings for the connection, everything that isn't IO/transport specific (e.g. authentication)

Fields

Methods

impl ConnectParams
[src]

[src]

Get a default/zeroed set of connection params