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
host: Cow<'static, str>
ssl: EncryptionLevel
trust_cert: bool
auth: AuthMethod
target_db: Option<Cow<'static, str>>
spn: Cow<'static, str>
Methods
impl ConnectParams
[src]
fn new() -> ConnectParams
[src]
Get a default/zeroed set of connection params