Enum tiberius::AuthMethod [−][src]
pub enum AuthMethod { SqlServer(SqlServerAuth), Windows(WindowsAuth), Integrated, // some variants omitted }
Expand description
Defines the method of authentication to the server.
Variants
Authenticate directly with SQL Server.
This is supported on Windows only.
Authenticate with Windows credentials.
This is supported on Windows, or Unix and crate feature
integrated-auth-gssapi
only.Authenticate as the currently logged in user. On Windows uses SSPI and Kerberos on Unix platforms.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AuthMethod
impl Send for AuthMethod
impl Sync for AuthMethod
impl Unpin for AuthMethod
impl UnwindSafe for AuthMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more